forked from quic-go/quic-go
implement sending of stateless resets
This commit is contained in:
@@ -208,6 +208,8 @@ type Config struct {
|
||||
// If not set, it will default to 100.
|
||||
// If set to a negative value, it doesn't allow any unidirectional streams.
|
||||
MaxIncomingUniStreams int
|
||||
// The StatelessResetKey is used to generate stateless reset tokens.
|
||||
StatelessResetKey []byte
|
||||
// KeepAlive defines whether this peer will periodically send a packet to keep the connection alive.
|
||||
KeepAlive bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user