aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/server_epoll.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index 5b61bd26..f191a74e 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -298,8 +298,10 @@ interface.send = interface.write;
function interface:close()
if self._wantwrite then
+ log("debug", "Close %s after writing", tostring(self));
self._toclose = true;
else
+ log("debug", "Close %s", tostring(self));
self.close = noop;
self.listeners.ondisconnect(self);
self:destroy();