forked from quic-go/quic-go
add QUIC 38 to supported versions
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
## v0.6.0 (unreleased)
|
||||
|
||||
- Add support for QUIC 38
|
||||
- Added `quic.Config` options for maximal flow control windows
|
||||
- Add a `quic.Config` option for QUIC versions
|
||||
- Add a `quic.Config` option to request truncation of the connection ID from a server
|
||||
|
||||
@@ -8,6 +8,7 @@ const (
|
||||
Version35 VersionNumber = 35 + iota
|
||||
Version36
|
||||
Version37
|
||||
Version38
|
||||
VersionWhatever VersionNumber = 0 // for when the version doesn't matter
|
||||
VersionUnsupported VersionNumber = -1
|
||||
)
|
||||
@@ -15,7 +16,10 @@ const (
|
||||
// SupportedVersions lists the versions that the server supports
|
||||
// must be in sorted descending order
|
||||
var SupportedVersions = []VersionNumber{
|
||||
Version37, Version36, Version35,
|
||||
Version38,
|
||||
Version37,
|
||||
Version36,
|
||||
Version35,
|
||||
}
|
||||
|
||||
// VersionNumberToTag maps version numbers ('32') to tags ('Q032')
|
||||
|
||||
Reference in New Issue
Block a user