forked from quic-go/quic-go
use the HandshakeComplete() context for accepting sessions in the server
This commit is contained in:
@@ -513,7 +513,6 @@ func (s *session) handleHandshakeComplete() {
|
||||
s.handshakeComplete = true
|
||||
s.handshakeCompleteChan = nil // prevent this case from ever being selected again
|
||||
s.handshakeCtxCancel()
|
||||
s.sessionRunner.OnHandshakeComplete(s)
|
||||
|
||||
// The client completes the handshake first (after sending the CFIN).
|
||||
// We need to make sure it learns about the server completing the handshake,
|
||||
|
||||
Reference in New Issue
Block a user