Sfoglia il codice sorgente

feat: change ALPN of DNS over QUIC

秋のかえで 3 anni fa
parent
commit
e4cacab9d1
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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