From e1141c187038e20ddbbbcdc51824fca4489064a4 Mon Sep 17 00:00:00 2001 From: WeidiDeng Date: Sun, 8 Dec 2024 18:10:06 +0800 Subject: fix compile --- modules/caddyhttp/encode/encode.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/caddyhttp/encode/encode.go b/modules/caddyhttp/encode/encode.go index 28e41caae..f2fa52b73 100644 --- a/modules/caddyhttp/encode/encode.go +++ b/modules/caddyhttp/encode/encode.go @@ -203,7 +203,7 @@ func (enc *Encode) addEncoding(e Encoding) error { // be closed after the handler completes. func (enc *Encode) openResponseWriter(encodingName string, w http.ResponseWriter, isConnect bool) *responseWriter { var rw responseWriter - return enc.initResponseWriter(&rw, encodingName, w, isConnect bool) + return enc.initResponseWriter(&rw, encodingName, w, isConnect) } // initResponseWriter initializes the responseWriter instance -- cgit v1.2.3