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 | f111485769022f472230f669aba56e20dbf8d247 (patch) | |
tree | 702944d54de13e1ddf80139b6e7f64f4f105eece /net | |
parent | 1c985cf5512adf2b49f6c9cc8eea1a90982504a7 (diff) | |
download | prosody-f111485769022f472230f669aba56e20dbf8d247.tar.gz prosody-f111485769022f472230f669aba56e20dbf8d247.zip |
net.server_epoll: Some logging when closing a connection
Diffstat (limited to 'net')
-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(); |