summaryrefslogtreecommitdiff
path: root/modules/caddyhttp/duplex_go120.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddyhttp/duplex_go120.go')
-rw-r--r--modules/caddyhttp/duplex_go120.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/caddyhttp/duplex_go120.go b/modules/caddyhttp/duplex_go120.go
index 462f2c0..065ccf2 100644
--- a/modules/caddyhttp/duplex_go120.go
+++ b/modules/caddyhttp/duplex_go120.go
@@ -20,6 +20,7 @@ import (
"net/http"
)
-func enableFullDuplex(w http.ResponseWriter) {
+func enableFullDuplex(w http.ResponseWriter) error {
// Do nothing, Go 1.20 and earlier do not support full duplex
+ return nil
}