chore: delete DOQ meaningless ALPN

This commit is contained in:
Skyxim 2022-06-12 23:16:47 +08:00
parent 85c37b473a
commit f7481ecadf

View file

@ -131,7 +131,7 @@ func (dc *quicClient) openSession(ctx context.Context) (quic.Connection, error)
tlsConfig := &tls.Config{ tlsConfig := &tls.Config{
InsecureSkipVerify: true, InsecureSkipVerify: true,
NextProtos: []string{ NextProtos: []string{
"http/1.1", "h2", NextProtoDQ, NextProtoDQ,
}, },
SessionTicketsDisabled: false, SessionTicketsDisabled: false,
} }