forked from quic-go/quic-go
move adding of stateless reset tokens to the transport parameter struct
This commit is contained in:
@@ -51,6 +51,8 @@ func newServerTLS(
|
||||
MaxBidiStreams: uint16(config.MaxIncomingStreams),
|
||||
MaxUniStreams: uint16(config.MaxIncomingUniStreams),
|
||||
DisableMigration: true,
|
||||
// TODO(#855): generate a real token
|
||||
StatelessResetToken: bytes.Repeat([]byte{42}, 16),
|
||||
}
|
||||
mconf, err := tlsToMintConfig(tlsConf, protocol.PerspectiveServer)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user