changeset 13340 | f91761822420 |
parent 12978 | ba409c67353b |
child 13426 | 3c80124452ed |
--- a/net/server_epoll.lua Tue Nov 21 20:45:56 2023 +0100 +++ b/net/server_epoll.lua Tue Nov 21 22:06:28 2023 +0100 @@ -400,6 +400,9 @@ end if r == nil then r = self._wantread; end if w == nil then w = self._wantwrite; end + if r == self._wantread and w == self._wantwrite then + return true + end local ok, err, errno = poll:set(fd, r, w); if not ok then self:debug("Could not update poller state: %s(%d)", err, errno);