# HG changeset patch # User Kim Alvefur # Date 1476042533 -7200 # Node ID a5ad858f3a93f83994fe10b8180e7b259cb49ef8 # Parent 861a747e441b7a8160a78797863e840edebe2fca net.server_epoll: Check that connection still exists after callback, fixes traceback when closed diff -r 861a747e441b -r a5ad858f3a93 net/server_epoll.lua --- a/net/server_epoll.lua Sat Oct 08 21:07:12 2016 +0200 +++ b/net/server_epoll.lua Sun Oct 09 21:48:53 2016 +0200 @@ -306,6 +306,7 @@ return; end end + if not self.conn then return; end if self.conn:dirty() then self:setreadtimeout(false); self:pausefor(cfg.read_retry_delay);