aboutsummaryrefslogtreecommitdiffstats
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
commit64e3af4deb3e7fa939275b7defa35e21df9fd683 (patch)
tree862bd75b08cab8e3b9fdf1fd86aa6000d8a63fe1
parent6c4ecdcff0cfe13a522c2019282c6e5e73f13600 (diff)
downloadprosody-64e3af4deb3e7fa939275b7defa35e21df9fd683.tar.gz
prosody-64e3af4deb3e7fa939275b7defa35e21df9fd683.zip
net.server_epoll: Improve read timeout debug messages
-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