author | Kim Alvefur <zash@zash.se> |
Sat, 17 Jul 2021 14:51:50 +0200 | |
changeset 11705 | a3572205c5bf |
parent 11704 | 79d30de13fdb |
child 11706 | c206430e2643 |
--- a/net/server_epoll.lua Sat Jul 17 14:06:57 2021 +0200 +++ b/net/server_epoll.lua Sat Jul 17 14:51:50 2021 +0200 @@ -458,7 +458,8 @@ return; end end - if self._wantread and self.conn:dirty() then + if not self._wantread then return end + if self.conn:dirty() then self:setreadtimeout(false); self:pausefor(cfg.read_retry_delay); else