forked from quic-go/quic-go
detect unsupported versions when parsing version negotiation packet
This commit is contained in:
@@ -15,7 +15,8 @@ const (
|
||||
Version34 VersionNumber = 34 + iota
|
||||
Version35
|
||||
Version36
|
||||
VersionWhatever = 0 // for when the version doesn't matter
|
||||
VersionWhatever = 0 // for when the version doesn't matter
|
||||
VersionUnsupported = -1
|
||||
)
|
||||
|
||||
// SupportedVersions lists the versions that the server supports
|
||||
|
||||
Reference in New Issue
Block a user