Revert "add client timeout via net/Conn SetDeadline"

This reverts commit 8affb6210e.
This commit is contained in:
Reese Norris
2025-07-18 10:56:53 -07:00
parent 8affb6210e
commit c0900f919a
4 changed files with 1 additions and 14 deletions

View File

@@ -108,8 +108,6 @@ func (s *Server) eventLoop(client *Client) {
go client.senderWorker()
for {
// Set deadline and attempt to read
client.conn.SetReadDeadline(getTimeBySecondsInFuture(s.cfg.ConnectionTimeoutSeconds))
if !client.scanner.Scan() {
return
}