diff options
author | Matthew Holt <[email protected]> | 2024-10-21 12:19:04 -0600 |
---|---|---|
committer | Matthew Holt <[email protected]> | 2024-10-21 12:19:04 -0600 |
commit | 5e6024c48da68492761837af3806be1951fa4c24 (patch) | |
tree | 26c28fb95f61edfab5c010ed2fe0301e395f6f5a | |
parent | 669fc41e6321115df554d5f7d8eb55fdfbdaab18 (diff) | |
download | caddy-5e6024c48da68492761837af3806be1951fa4c24.tar.gz caddy-5e6024c48da68492761837af3806be1951fa4c24.zip |
reverseproxy: Fix log message
Fixes regression from #6560
-rw-r--r-- | modules/caddyhttp/reverseproxy/streaming.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/caddyhttp/reverseproxy/streaming.go b/modules/caddyhttp/reverseproxy/streaming.go index 3fde10b35..91af7c263 100644 --- a/modules/caddyhttp/reverseproxy/streaming.go +++ b/modules/caddyhttp/reverseproxy/streaming.go @@ -103,7 +103,7 @@ func (h *Handler) handleUpgradeResponse(logger *zap.Logger, wg *sync.WaitGroup, start := time.Now() defer func() { conn.Close() - if c := logger.Check(zapcore.DebugLevel, "hijack failed on protocol switch"); c != nil { + if c := logger.Check(zapcore.DebugLevel, "connection closed"); c != nil { c.Write(zap.Duration("duration", time.Since(start))) } }() |