From c5596e09256d3f6dd1941ec97bb0709493d0c5cd Mon Sep 17 00:00:00 2001 From: lihan3238 Date: Sun, 10 May 2026 15:43:58 +0800 Subject: [PATCH] fix(api): clear sniff deadline before entering Redis handler Clear the 10s read deadline before calling handleRedisConnection so that authenticated Redis clients are not disconnected by an i/o timeout after 10 seconds of idle time. HTTP paths already clear the deadline after routing. Co-Authored-By: Claude Opus 4.7 --- internal/api/protocol_multiplexer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/api/protocol_multiplexer.go b/internal/api/protocol_multiplexer.go index 781db9eb8..607d55a7c 100644 --- a/internal/api/protocol_multiplexer.go +++ b/internal/api/protocol_multiplexer.go @@ -115,6 +115,7 @@ func (s *Server) routeMuxConnection(conn net.Conn, httpListener *muxListener) { } return } + _ = conn.SetReadDeadline(time.Time{}) s.handleRedisConnection(conn, reader) return }