Skip to content

Commit eb33e10

Browse files
committed
Add QUIC 34 as support versions
1 parent ca4ab2b commit eb33e10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ func AltProtoMiddleware(next http.Handler, port int) http.Handler {
206206
// Alternate-Protocol is deprecated.
207207
// See https://groups.google.com/a/chromium.org/forum/#!topic/chromium-reviews/aOv41LpPDQY
208208
w.Header().Add("Alternate-Protocol", fmt.Sprintf("%d:quic", port))
209-
w.Header().Add("Alt-Svc", fmt.Sprintf("quic=\":%d\"; ma=86400; v=\"33,32,31,30,29,28,27,26,25\"", port))
209+
w.Header().Add("Alt-Svc", fmt.Sprintf("quic=\":%d\"; ma=86400; v=\"34,33,32,31,30,29,28,27,26,25\"", port))
210210
next.ServeHTTP(w, r)
211211
})
212212
}

0 commit comments

Comments
 (0)