diff options
author | Kim Alvefur <zash@zash.se> | 2019-10-19 20:11:21 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-10-19 20:11:21 +0200 |
commit | c9b83c46682de98ed66585e50c2119f6453620db (patch) | |
tree | 862bd75b08cab8e3b9fdf1fd86aa6000d8a63fe1 /net/server_epoll.lua | |
parent | b87fbcd1e0fb88b63a77d8d0db06e56db6149d0e (diff) | |
download | prosody-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.lua | 4 |
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 |