enforce the active_connection_id_limit

This commit is contained in:
Marten Seemann
2019-11-27 19:22:48 +07:00
parent 3f6030fdb3
commit f35a32989c
3 changed files with 12 additions and 15 deletions

View File

@@ -20,6 +20,7 @@ const (
FinalSizeError ErrorCode = 0x6
FrameEncodingError ErrorCode = 0x7
TransportParameterError ErrorCode = 0x8
ConnectionIDLimitError ErrorCode = 0x9
ProtocolViolation ErrorCode = 0xa
CryptoBufferExceeded ErrorCode = 0xd
)
@@ -64,6 +65,8 @@ func (e ErrorCode) String() string {
return "FRAME_ENCODING_ERROR"
case TransportParameterError:
return "TRANSPORT_PARAMETER_ERROR"
case ConnectionIDLimitError:
return "CONNECTION_ID_LIMIT_ERROR"
case ProtocolViolation:
return "PROTOCOL_VIOLATION"
case CryptoBufferExceeded: