diff options
author | Kim Alvefur <zash@zash.se> | 2018-10-12 03:22:09 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-10-12 03:22:09 +0200 |
commit | 6d12622b2a12823a3a2e983e98bcb4c19c741982 (patch) | |
tree | 8025d448365b2e79271bf088c41bb0afe8720b0d /net/server_epoll.lua | |
parent | ec7fb3ee614bdd315bd2657c22280bff0e0ed6b1 (diff) | |
download | prosody-6d12622b2a12823a3a2e983e98bcb4c19c741982.tar.gz prosody-6d12622b2a12823a3a2e983e98bcb4c19c741982.zip |
net.server_epoll: Special handling of signal interrupts
Diffstat (limited to 'net/server_epoll.lua')
-rw-r--r-- | net/server_epoll.lua | 2 |
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); |