drop support for draft-29 (#3903)

This commit is contained in:
Marten Seemann 2023-06-21 13:06:44 +02:00 committed by GitHub
parent da298d09e1
commit 21388c86bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 65 additions and 189 deletions

View file

@ -18,7 +18,6 @@ import (
"github.com/quic-go/quic-go"
"github.com/quic-go/quic-go/http3"
"github.com/quic-go/quic-go/internal/protocol"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
@ -397,11 +396,7 @@ var _ = Describe("HTTP tests", func() {
It("serves other QUIC connections", func() {
tlsConf := getTLSConfig()
if version == protocol.VersionDraft29 {
tlsConf.NextProtos = []string{http3.NextProtoH3Draft29}
} else {
tlsConf.NextProtos = []string{http3.NextProtoH3}
}
tlsConf.NextProtos = []string{http3.NextProtoH3}
ln, err := quic.ListenAddr("localhost:0", tlsConf, nil)
Expect(err).ToNot(HaveOccurred())
defer ln.Close()

View file

@ -149,8 +149,6 @@ var _ = BeforeSuite(func() {
version = quic.Version1
case "2":
version = quic.Version2
case "draft29":
version = quic.VersionDraft29
default:
Fail(fmt.Sprintf("unknown QUIC version: %s", versionParam))
}