Explorar o código

feat: change ALPN of DNS over QUIC

秋のかえで %!s(int64=3) %!d(string=hai) anos
pai
achega
e4cacab9d1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/dns/nameserver_quic.go

+ 1 - 1
app/dns/nameserver_quic.go

@@ -24,7 +24,7 @@ import (
 
 // NextProtoDQ - During connection establishment, DNS/QUIC support is indicated
 // by selecting the ALPN token "dq" in the crypto handshake.
-const NextProtoDQ = "doq-i00"
+const NextProtoDQ = "doq"
 
 const handshakeIdleTimeout = time.Second * 8