Changeset

10417:d8a0b0d21c81

net.server_epoll: Improve read timeout debug messages
author Kim Alvefur <zash@zash.se>
date Sat, 19 Oct 2019 20:11:21 +0200
parents 10416:6af8c812a885
children 10418:c8aa66595072
files net/server_epoll.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_epoll.lua	Sat Oct 19 20:10:14 2019 +0200
+++ b/net/server_epoll.lua	Sat Oct 19 20:11:21 2019 +0200
@@ -261,10 +261,10 @@
 	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