Software /
code /
prosody
Diff
net/server_epoll.lua @ 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 |
parent | 7554:c2decf88e249 |
child | 7556:1f777b38b66c |
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();