This commit is contained in:
parent
286a5b72e5
commit
1a9b858eaf
|
@ -943,7 +943,7 @@ func main() {
|
||||||
h := http.Header{}
|
h := http.Header{}
|
||||||
server.SetQuicHeaders(h)
|
server.SetQuicHeaders(h)
|
||||||
extraHeadersMutex.Lock()
|
extraHeadersMutex.Lock()
|
||||||
extraHeaders["Alt-Svc"] = h.Get("Alt-Svc") + "; persist=1"
|
extraHeaders["Alt-Svc"] = h.Get("Alt-Svc")
|
||||||
extraHeadersMutex.Unlock()
|
extraHeadersMutex.Unlock()
|
||||||
|
|
||||||
log.Printf("Serving UDP on %s", *listenAddress)
|
log.Printf("Serving UDP on %s", *listenAddress)
|
||||||
|
|
Loading…
Reference in a new issue