aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-10-12 03:22:09 +0200
committerKim Alvefur <zash@zash.se>2018-10-12 03:22:09 +0200
commitc43aa85d84a3f9721a126689add6a644c30ed9f0 (patch)
tree8025d448365b2e79271bf088c41bb0afe8720b0d /net
parent906bc714b636f475caf7960922ba75c75a0395e7 (diff)
downloadprosody-c43aa85d84a3f9721a126689add6a644c30ed9f0.tar.gz
prosody-c43aa85d84a3f9721a126689add6a644c30ed9f0.zip
net.server_epoll: Special handling of signal interrupts
Diffstat (limited to 'net')
-rw-r--r--net/server_epoll.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_epoll.lua b/net/server_epoll.lua
index cb83c8c3..0d05aee1 100644
--- a/net/server_epoll.lua
+++ b/net/server_epoll.lua
@@ -742,7 +742,7 @@ local function loop(once)
log("debug", "Removing unknown fd %d", fd);
poll:del(fd);
end
- elseif r ~= "timeout" then
+ elseif r ~= "timeout" and r ~= "signal" then
log("debug", "epoll_wait error: %s[%d]", r, w);
end
until once or (quitting and next(fds) == nil);