From f7481ecadf7b8a0cd5ffe1fc05a67b6f118a1d06 Mon Sep 17 00:00:00 2001 From: Skyxim Date: Sun, 12 Jun 2022 23:16:47 +0800 Subject: [PATCH] chore: delete DOQ meaningless ALPN --- dns/doq.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dns/doq.go b/dns/doq.go index b9bddf3b..af4c3833 100644 --- a/dns/doq.go +++ b/dns/doq.go @@ -131,7 +131,7 @@ func (dc *quicClient) openSession(ctx context.Context) (quic.Connection, error) tlsConfig := &tls.Config{ InsecureSkipVerify: true, NextProtos: []string{ - "http/1.1", "h2", NextProtoDQ, + NextProtoDQ, }, SessionTicketsDisabled: false, }