diff --git a/modules/caddyhttp/duplex_go121.go b/modules/caddyhttp/duplex_go121.go index 05614d0eea7f..a17d3afe7388 100644 --- a/modules/caddyhttp/duplex_go121.go +++ b/modules/caddyhttp/duplex_go121.go @@ -21,5 +21,6 @@ import ( ) func enableFullDuplex(w http.ResponseWriter) error { + //nolint:bodyclose return http.NewResponseController(w).EnableFullDuplex() }