We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f96816 commit 8332494Copy full SHA for 8332494
dnscrypt-proxy/xtransport.go
@@ -775,6 +775,11 @@ func (xTransport *XTransport) Fetch(
775
dlog.Debugf("Alt-Svc [%s]: [%s]", url.Host, alt)
776
altPort := uint16(port & 0xffff)
777
for i, xalt := range alt {
778
+ if strings.TrimSpace(xalt) == "clear" {
779
+ dlog.Debugf("Alt-Svc clear for [%s] - HTTP/3 not available", url.Host)
780
+ altPort = 0
781
+ break
782
+ }
783
for j, v := range strings.Split(xalt, ";") {
784
if i >= 8 || j >= 16 {
785
break
0 commit comments