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
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()