New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proposal: net: add Control-only SyscallConn to Listeners #22065
Comments
So maybe |
Yep, that's enough for us. We just need some reliable interface to specify our custom SetSockOpt options. |
OK, let's do #22065 (comment) |
I'm happy to send a CL tomorrow or the day after, if no one beats me to it.
…On 16 October 2017 21:58:06 Russ Cox ***@***.***> wrote:
OK, let's do #22065 (comment)
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
#22065 (comment)
|
I have a CL, but currently can't figure out how to use the corporate CLA that is already in place. |
Send me the CLA details offline (iant@golang.org) and I'll see if I can get it figured out. Thanks. |
Change https://golang.org/cl/71651 mentions this issue: |
Go 1.9 added RawConn to some net.Conns, allowing access to the OS' FD. It seems like a similar function could be added to Listeners.
We have a use case where we'd like to set a sockopt on a TCPListener, which could be simplified by being able to call TCPListener.RawConn (or similar) with the same semantics as for net.Conn.
cc @mikioh (?)
The text was updated successfully, but these errors were encountered: