mirror of
https://github.com/refraction-networking/uquic.git
synced 2025-04-03 20:27:35 +03:00
Handle new version format
This commit is contained in:
parent
ff89d42262
commit
3c08c885ae
2 changed files with 2 additions and 2 deletions
|
@ -339,7 +339,7 @@ var _ = Describe("Server", func() {
|
|||
}
|
||||
|
||||
BeforeEach(func() {
|
||||
Expect(getExpectedHeader([]protocol.VersionNumber{99, 90, 9})).To(Equal(http.Header{"Alt-Svc": {nextProtoH3 + `=":443"; ma=2592000; quic="99,90,9"`}}))
|
||||
Expect(getExpectedHeader([]protocol.VersionNumber{0x00000001, 0x1abadaba})).To(Equal(http.Header{"Alt-Svc": {nextProtoH3 + `=":443"; ma=2592000; quic="1,1abadaba"`}}))
|
||||
expected = getExpectedHeader(protocol.SupportedVersions)
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue