cmd/routed: alt-svc fix
This commit is contained in:
parent
16611e29e6
commit
d63c627669
|
@ -185,7 +185,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) {
|
|||
rid := ulid.New().String()
|
||||
r.Header.Set("X-Request-Id", rid)
|
||||
w.Header().Set("X-Request-Id", rid)
|
||||
w.Header().Add("Alt-Svc", fmt.Sprintf(`quic="%s"; ma=2592000; v="39"`, s.cfg.QuicAddr))
|
||||
w.Header().Add("Alt-Svc", fmt.Sprintf(`hq="%s"; ma=2592000`, s.cfg.QuicAddr))
|
||||
|
||||
// http://www.gnuterrypratchett.com/
|
||||
w.Header().Set("X-Clacks-Overhead", "GNU Ashlynn")
|
||||
|
|
Loading…
Reference in New Issue