From 02acf81ca1e855a15474862ce5a29db8d2e94ac9 Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Wed, 27 Nov 2019 19:15:48 +0700 Subject: [PATCH] remove the VERSION_NEGOTIATION_ERROR --- internal/qerr/error_codes.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/internal/qerr/error_codes.go b/internal/qerr/error_codes.go index 4ac7cbfea..4158fcdb6 100644 --- a/internal/qerr/error_codes.go +++ b/internal/qerr/error_codes.go @@ -20,7 +20,6 @@ const ( FinalSizeError ErrorCode = 0x6 FrameEncodingError ErrorCode = 0x7 TransportParameterError ErrorCode = 0x8 - VersionNegotiationError ErrorCode = 0x9 ProtocolViolation ErrorCode = 0xa CryptoBufferExceeded ErrorCode = 0xd ) @@ -65,8 +64,6 @@ func (e ErrorCode) String() string { return "FRAME_ENCODING_ERROR" case TransportParameterError: return "TRANSPORT_PARAMETER_ERROR" - case VersionNegotiationError: - return "VERSION_NEGOTIATION_ERROR" case ProtocolViolation: return "PROTOCOL_VIOLATION" case CryptoBufferExceeded: