Remove QUIC version hint

This commit is contained in:
Julien Salleyron
2019-10-21 17:18:02 +02:00
parent 3ea7ad198f
commit f110af917b
3 changed files with 5 additions and 28 deletions

View File

@@ -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
}