diff options
author | Matthew Holt <[email protected]> | 2024-04-27 12:41:17 -0600 |
---|---|---|
committer | Matthew Holt <[email protected]> | 2024-04-27 12:41:17 -0600 |
commit | 2fc620d38dd8ac0e9e8512f25a760da62c050c2d (patch) | |
tree | 3621c51d13efdffc498e3f507e864e6a8246a5d0 | |
parent | a46ff50a1ce61d02fc249821fb7e8ea04c1b2840 (diff) | |
download | caddy-2fc620d38dd8ac0e9e8512f25a760da62c050c2d.tar.gz caddy-2fc620d38dd8ac0e9e8512f25a760da62c050c2d.zip |
caddyhttp: Fix linter warning about deprecation
-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)) } |