mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
net.server_epoll: Check that connection still exists after callback, fixes traceback when closed
This commit is contained in:
parent
de36c063b3
commit
8b4bf07cf1
1 changed files with 1 additions and 0 deletions
|
@ -306,6 +306,7 @@ function interface:onreadable()
|
|||
return;
|
||||
end
|
||||
end
|
||||
if not self.conn then return; end
|
||||
if self.conn:dirty() then
|
||||
self:setreadtimeout(false);
|
||||
self:pausefor(cfg.read_retry_delay);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue