Software /
code /
prosody
Changeset
7555:f3abb5f891eb
net.server_epoll: Some logging when closing a connection
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 10 Aug 2016 21:10:17 +0200 |
parents | 7554:c2decf88e249 |
children | 7556:1f777b38b66c |
files | net/server_epoll.lua |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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();