forked from quic-go/quic-go
Remove QUIC version hint
This commit is contained in:
@@ -48,11 +48,6 @@ func (vn VersionNumber) String() string {
|
||||
}
|
||||
}
|
||||
|
||||
// ToAltSvc returns the representation of the version for the H2 Alt-Svc parameters
|
||||
func (vn VersionNumber) ToAltSvc() string {
|
||||
return fmt.Sprintf("%x", uint32(vn))
|
||||
}
|
||||
|
||||
func (vn VersionNumber) isGQUIC() bool {
|
||||
return vn > gquicVersion0 && vn <= maxGquicVersion
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user