From f111485769022f472230f669aba56e20dbf8d247 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 10 Aug 2016 21:10:17 +0200 Subject: net.server_epoll: Some logging when closing a connection --- net/server_epoll.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'net') 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(); -- cgit v1.2.3