You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also, the gorilla websocket library that is looking for a new maintainer
has a function, conn.UnderlyingConn() that does the same thing to provide
access to the *tls.Conn.conn object.
Might want to work with them on naming.
Andrew
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I need to access the underlying connection of a *tls.Conn exported identifier, but there is no UPPERCASE function to return it.
What did you expect to see?
I expected to be able to access the *net.Conn of a *tls.Conn to modify it, keep alive can be modified after creation.
What did you see instead?
The lack of an error explaining that an identifier is printed with "%+v" but not accessible and a uninformative error when attempted.
The text was updated successfully, but these errors were encountered: