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
We should create a net/http fork to ease using utls. The patch to make net/http accept any TLS library is trivial (I already tested this in a private repository) and the flow of changes is small enough that it should not make merging hard.
The gist of the patch is introducing a TLSConn type in http that implements net.Conn and has the same Handshake and ConnectionState methods of the *tls.Conn struct. Once we have that, we need to replace any usage of *tls.Conn inside the net/http fork with TLSConn. With this change in, we can use refraction-networking/utls.
The text was updated successfully, but these errors were encountered:
We should create a net/http fork to ease using utls. The patch to make net/http accept any TLS library is trivial (I already tested this in a private repository) and the flow of changes is small enough that it should not make merging hard.
The gist of the patch is introducing a
TLSConn
type inhttp
that implementsnet.Conn
and has the sameHandshake
andConnectionState
methods of the*tls.Conn
struct. Once we have that, we need to replace any usage of*tls.Conn
inside thenet/http
fork withTLSConn
. With this change in, we can use refraction-networking/utls.The text was updated successfully, but these errors were encountered: