Software /
code /
prosody
Changeset
11743:856dada099fa
net.server_epoll: Split, attempt to clarify dirty noise message
Only relevant because a "dirty" connection (with incoming data in
LuaSocket's buffer) does not count as "readable" according to epoll, so
special care needs to be taken to keep on processing it.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 16 Aug 2021 20:15:38 +0200 |
parents | 11742:9c450185bac1 |
children | 11744:5f99aa6bb76d |
files | net/server_epoll.lua |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_epoll.lua Mon Aug 16 12:45:14 2021 +0200 +++ b/net/server_epoll.lua Mon Aug 16 20:15:38 2021 +0200 @@ -801,8 +801,9 @@ self._pausefor = addtimer(t, function () self._pausefor = nil; self:set(true); - self:noise("Resuming after pause, connection is %s", not self.conn and "missing" or self.conn:dirty() and "dirty" or "clean"); + self:noise("Resuming after pause"); if self.conn and self.conn:dirty() then + self:noise("Have buffered incoming data to process"); self:onreadable(); end end);