forked from quic-go/quic-go
introduce a protocol.StatelessResetToken
This commit is contained in:
@@ -179,7 +179,7 @@ func (e eventVersionNegotiationReceived) MarshalJSONObject(enc *gojay.Encoder) {
|
||||
}
|
||||
|
||||
type eventStatelessResetReceived struct {
|
||||
Token [16]byte
|
||||
Token protocol.StatelessResetToken
|
||||
}
|
||||
|
||||
func (e eventStatelessResetReceived) Category() category { return categoryTransport }
|
||||
@@ -332,7 +332,7 @@ type eventTransportParameters struct {
|
||||
InitialSourceConnectionID protocol.ConnectionID
|
||||
RetrySourceConnectionID *protocol.ConnectionID
|
||||
|
||||
StatelessResetToken *[16]byte
|
||||
StatelessResetToken *protocol.StatelessResetToken
|
||||
DisableActiveMigration bool
|
||||
MaxIdleTimeout time.Duration
|
||||
MaxUDPPayloadSize protocol.ByteCount
|
||||
|
||||
Reference in New Issue
Block a user