forked from quic-go/quic-go
Merge pull request #2234 from lucas-clemente/remove-invalid-migration-error
remove the INVALID_MIGRATION error
This commit is contained in:
@@ -22,7 +22,6 @@ const (
|
|||||||
TransportParameterError ErrorCode = 0x8
|
TransportParameterError ErrorCode = 0x8
|
||||||
VersionNegotiationError ErrorCode = 0x9
|
VersionNegotiationError ErrorCode = 0x9
|
||||||
ProtocolViolation ErrorCode = 0xa
|
ProtocolViolation ErrorCode = 0xa
|
||||||
InvalidMigration ErrorCode = 0xc
|
|
||||||
CryptoBufferExceeded ErrorCode = 0xd
|
CryptoBufferExceeded ErrorCode = 0xd
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -70,8 +69,6 @@ func (e ErrorCode) String() string {
|
|||||||
return "VERSION_NEGOTIATION_ERROR"
|
return "VERSION_NEGOTIATION_ERROR"
|
||||||
case ProtocolViolation:
|
case ProtocolViolation:
|
||||||
return "PROTOCOL_VIOLATION"
|
return "PROTOCOL_VIOLATION"
|
||||||
case InvalidMigration:
|
|
||||||
return "INVALID_MIGRATION"
|
|
||||||
case CryptoBufferExceeded:
|
case CryptoBufferExceeded:
|
||||||
return "CRYPTO_BUFFER_EXCEEDED"
|
return "CRYPTO_BUFFER_EXCEEDED"
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user