forked from quic-go/quic-go
remove v33 from supported versions
This commit is contained in:
@@ -13,7 +13,7 @@ quic-go is an implementation of the [QUIC](https://en.wikipedia.org/wiki/QUIC) p
|
||||
|
||||
Done:
|
||||
|
||||
- Basic protocol with support for QUIC version 32-35
|
||||
- Basic protocol with support for QUIC version 34-35
|
||||
- HTTP/2 support
|
||||
- Crypto (RSA / ECDSA certificates, Curve25519 for key exchange, AES-GCM or Chacha20-Poly1305 as stream cipher)
|
||||
- Loss detection and retransmission (currently fast retransmission & RTO)
|
||||
|
||||
@@ -196,7 +196,7 @@ var _ = Describe("H2 server", func() {
|
||||
|
||||
Context("setting http headers", func() {
|
||||
expected := http.Header{
|
||||
"Alt-Svc": {`quic=":443"; ma=2592000; v="35,34,33"`},
|
||||
"Alt-Svc": {`quic=":443"; ma=2592000; v="35,34"`},
|
||||
"Alternate-Protocol": {`443:quic`},
|
||||
}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ const (
|
||||
|
||||
// SupportedVersions lists the versions that the server supports
|
||||
var SupportedVersions = []VersionNumber{
|
||||
Version33, Version34, Version35,
|
||||
Version34, Version35,
|
||||
}
|
||||
|
||||
// SupportedVersionsAsTags is needed for the SHLO crypto message
|
||||
|
||||
@@ -17,11 +17,11 @@ var _ = Describe("Version", func() {
|
||||
})
|
||||
|
||||
It("has proper tag list", func() {
|
||||
Expect(SupportedVersionsAsTags).To(Equal([]byte("Q033Q034Q035")))
|
||||
Expect(SupportedVersionsAsTags).To(Equal([]byte("Q034Q035")))
|
||||
})
|
||||
|
||||
It("has proper version list", func() {
|
||||
Expect(SupportedVersionsAsString).To(Equal("35,34,33"))
|
||||
Expect(SupportedVersionsAsString).To(Equal("35,34"))
|
||||
})
|
||||
|
||||
It("recognizes supported versions", func() {
|
||||
|
||||
Reference in New Issue
Block a user