use a varint for the error code in the CONNECTION_CLOSE frame

This commit is contained in:
Marten Seemann
2019-06-14 17:35:40 +08:00
parent 2225bfd9a2
commit 453aa23553
4 changed files with 26 additions and 22 deletions

View File

@@ -7,7 +7,7 @@ import (
)
// ErrorCode can be used as a normal error without reason.
type ErrorCode uint16
type ErrorCode uint64
// The error codes defined by QUIC
const (