Fix Alt-Svc header
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
DataHoarder 2022-01-17 18:54:46 +01:00
parent 286a5b72e5
commit 1a9b858eaf

View file

@ -943,7 +943,7 @@ func main() {
h := http.Header{}
server.SetQuicHeaders(h)
extraHeadersMutex.Lock()
extraHeaders["Alt-Svc"] = h.Get("Alt-Svc") + "; persist=1"
extraHeaders["Alt-Svc"] = h.Get("Alt-Svc")
extraHeadersMutex.Unlock()
log.Printf("Serving UDP on %s", *listenAddress)