diff options
-rw-r--r-- | modules/caddyhttp/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/server.go b/modules/caddyhttp/server.go index 5b855cde3..5c7bd8936 100644 --- a/modules/caddyhttp/server.go +++ b/modules/caddyhttp/server.go @@ -272,7 +272,7 @@ func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) { // advertise HTTP/3, if enabled if s.h3server != nil { if r.ProtoMajor < 3 { - err := s.h3server.SetQuicHeaders(w.Header()) + err := s.h3server.SetQUICHeaders(w.Header()) if err != nil { s.logger.Error("setting HTTP/3 Alt-Svc header", zap.Error(err)) } |