# HG changeset patch # User Kim Alvefur # Date 1470856217 -7200 # Node ID f3abb5f891ebd894d7e8b8f7b825c31bcf5fa020 # Parent c2decf88e249e1b7c81c7b895353865803f0632d net.server_epoll: Some logging when closing a connection diff -r c2decf88e249 -r f3abb5f891eb net/server_epoll.lua --- a/net/server_epoll.lua Wed Aug 10 20:59:54 2016 +0200 +++ b/net/server_epoll.lua Wed Aug 10 21:10:17 2016 +0200 @@ -298,8 +298,10 @@ 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();