diff options
author | Kim Alvefur <zash@zash.se> | 2016-08-10 21:10:17 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2016-08-10 21:10:17 +0200 |
commit | c2d5f9a1fa51b8e08f4f77c08128374ed4262ba3 (patch) | |
tree | 702944d54de13e1ddf80139b6e7f64f4f105eece | |
parent | d60907bc227f7434a7ca36ba93b09e4e30696187 (diff) | |
download | prosody-c2d5f9a1fa51b8e08f4f77c08128374ed4262ba3.tar.gz prosody-c2d5f9a1fa51b8e08f4f77c08128374ed4262ba3.zip |
net.server_epoll: Some logging when closing a connection
-rw-r--r-- | net/server_epoll.lua | 2 |
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(); |