forked from quic-go/quic-go
document the range of valid values for error codes
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
- Rename `quic.Cookie` to `quic.Token` and `quic.Config.AcceptCookie` to `quic.Config.AcceptToken`.
|
||||
- Distinguish between Retry tokens and tokens sent in NEW_TOKEN frames.
|
||||
- Enforce application protocol negotiation (via `tls.Config.NextProtos`).
|
||||
- Use a varint for error codes.
|
||||
|
||||
## v0.11.0 (2019-04-05)
|
||||
|
||||
|
||||
@@ -27,6 +27,7 @@ type Token struct {
|
||||
}
|
||||
|
||||
// An ErrorCode is an application-defined error code.
|
||||
// Valid values range between 0 and MAX_UINT62.
|
||||
type ErrorCode = protocol.ApplicationErrorCode
|
||||
|
||||
// Stream is the interface implemented by QUIC streams
|
||||
|
||||
Reference in New Issue
Block a user