# HG changeset patch # User Kim Alvefur # Date 1595690771 -7200 # Node ID 05fefde930368c8be77a24882c06a4cb752c6a85 # Parent bb010c3c8c939a752d764099338ec6b4c5d0bafc net.server_epoll: Log debug message when a connection errors on read It's confusingly quiet otherwise, even with maximum verboseness. Thanks perflyst diff -r bb010c3c8c93 -r 05fefde93036 net/server_epoll.lua --- a/net/server_epoll.lua Mon Jun 29 21:03:13 2020 +0200 +++ b/net/server_epoll.lua Sat Jul 25 17:26:11 2020 +0200 @@ -405,6 +405,11 @@ self:onincoming(partial, err); end if err ~= "timeout" then + if err == "closed" then + self:debug("Connection closed by remote"); + else + self:debug("Read error, closing (%s)", err); + end self:on("disconnect", err); self:destroy() return;