mirror of
https://github.com/refraction-networking/utls.git
synced 2025-04-03 20:17:36 +03:00
Fix intermittent issues with Randomized parrot (#19)
Fix intermittent issues with Randomized parrot
This commit is contained in:
parent
323a55944c
commit
3fe91d9822
3 changed files with 11 additions and 7 deletions
|
@ -270,7 +270,7 @@ func forgeConn() {
|
|||
|
||||
serverConn, clientConn := net.Pipe()
|
||||
|
||||
clientUtls.SetNetConn(clientConn)
|
||||
clientUtls.SetUnderlyingConn(clientConn)
|
||||
|
||||
hs := clientUtls.HandshakeState
|
||||
serverTls := tls.MakeConnWithCompleteHandshake(serverConn, hs.ServerHello.Vers, hs.ServerHello.CipherSuite,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue