forked from quic-go/quic-go
move initialization of the client's transport parameters to the session
This commit is contained in:
@@ -368,6 +368,8 @@ func (c *client) createNewTLSSession(_ protocol.VersionNumber) {
|
||||
c.version,
|
||||
)
|
||||
c.mutex.Unlock()
|
||||
// It's not possible to use the stateless reset token for the client's (first) connection ID,
|
||||
// since there's no way to securely communicate it to the server.
|
||||
c.packetHandlers.Add(c.srcConnID, c)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user