diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/server_epoll.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua index 25a50373..6618c204 100644 --- a/net/server_epoll.lua +++ b/net/server_epoll.lua @@ -514,6 +514,7 @@ interface.send = interface.write; function interface:close() if self.writebuffer and self.writebuffer[1] then self:set(false, true); -- Flush final buffer contents + self:setwritetimeout(); self.write, self.send = noop, noop; -- No more writing self:debug("Close after writing remaining buffered data"); self.ondrain = interface.close; |