Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 12, 07:00 UTC
reverseproxy: Fix log message
Fixes regression from #6560
Matthew Holt committed
Oct 21, 2024 at 12:19 UTC
5e6024c48da68492761837af3806be1951fa4c24
1 file changed
+1
-1
modules/caddyhttp/reverseproxy/streaming.go
+1
-1
@@ -103,7 +103,7 @@ func (h *Handler) handleUpgradeResponse(logger *zap.Logger, wg *sync.WaitGroup,
103
start := time.Now()
104
defer func() {
105
conn.Close()
106
- if c := logger.Check(zapcore.DebugLevel, "hijack failed on protocol switch"); c != nil {
106
+ if c := logger.Check(zapcore.DebugLevel, "connection closed"); c != nil {
107
c.Write(zap.Duration("duration", time.Since(start)))
108
}
109
}()