forked from quic-go/quic-go
Handle new version format
This commit is contained in:
@@ -50,7 +50,7 @@ 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("%d", vn)
|
||||
return fmt.Sprintf("%x", uint32(vn))
|
||||
}
|
||||
|
||||
func (vn VersionNumber) isGQUIC() bool {
|
||||
|
||||
Reference in New Issue
Block a user