Skip to content

Commit 5e6024c

Browse files
committed
reverseproxy: Fix log message
Fixes regression from #6560
1 parent 669fc41 commit 5e6024c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/caddyhttp/reverseproxy/streaming.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ func (h *Handler) handleUpgradeResponse(logger *zap.Logger, wg *sync.WaitGroup,
103103
start := time.Now()
104104
defer func() {
105105
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 {
107107
c.Write(zap.Duration("duration", time.Since(start)))
108108
}
109109
}()

0 commit comments

Comments
 (0)