Software /
code /
prosody
Diff
net/server_epoll.lua @ 9508:2055b497b515
net.server_epoll: Special handling of signal interrupts
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 12 Oct 2018 03:22:09 +0200 |
parent | 9507:33d21f020b66 |
child | 9573:57637247356d |
line wrap: on
line diff
--- a/net/server_epoll.lua Fri Oct 12 03:21:11 2018 +0200 +++ b/net/server_epoll.lua Fri Oct 12 03:22:09 2018 +0200 @@ -742,7 +742,7 @@ 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);