forked from quic-go/quic-go
drop support for draft-29 (#3903)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user