Merge pull request #2254 from lucas-clemente/remove-version-negotiation-error

remove the VERSION_NEGOTIATION_ERROR
This commit is contained in:
Marten Seemann
2019-12-03 18:04:06 +07:00
committed by GitHub

View File

@@ -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: