aboutsummaryrefslogtreecommitdiffstats
path: root/net/server_epoll.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-10-19 20:11:21 +0200
committerKim Alvefur <zash@zash.se>2019-10-19 20:11:21 +0200
commitc9b83c46682de98ed66585e50c2119f6453620db (patch)
tree862bd75b08cab8e3b9fdf1fd86aa6000d8a63fe1 /net/server_epoll.lua
parentb87fbcd1e0fb88b63a77d8d0db06e56db6149d0e (diff)
downloadprosody-c9b83c46682de98ed66585e50c2119f6453620db.tar.gz
prosody-c9b83c46682de98ed66585e50c2119f6453620db.zip
net.server_epoll: Improve read timeout debug messages
Diffstat (limited to 'net/server_epoll.lua')
-rw-r--r--net/server_epoll.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index 8f3d28db..3a2dcbad 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -261,10 +261,10 @@ function interface:setreadtimeout(t)
else
self._readtimeout = addtimer(t, function ()
if self:on("readtimeout") then
- self:debug("Read timeout, handled");
+ self:debug("Read timeout handled");
return cfg.read_timeout;
else
- self:debug("Read timeout, fatal");
+ self:debug("Read timeout not handled, disconnecting");
self:on("disconnect", "read timeout");
self:destroy();
end