aboutsummaryrefslogtreecommitdiffstats
path: root/net/server.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2024-03-02 13:40:37 +0100
committerKim Alvefur <zash@zash.se>2024-03-02 13:40:37 +0100
commit1d5021a663e11770e35358d36e5678c2e030f4b2 (patch)
treee10d8c0c59344fc4e3ba7059e7ca465055c808f0 /net/server.lua
parent3036a689fa42a1830eb5e8181f3e53aba52cee39 (diff)
downloadprosody-1d5021a663e11770e35358d36e5678c2e030f4b2.tar.gz
prosody-1d5021a663e11770e35358d36e5678c2e030f4b2.zip
net.server: Restore epoll signalfd handling
Reverts 4a9a69659727
Diffstat (limited to 'net/server.lua')
-rw-r--r--net/server.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/net/server.lua b/net/server.lua
index 45601998..942aceb2 100644
--- a/net/server.lua
+++ b/net/server.lua
@@ -87,11 +87,6 @@ else
end
end
-if server_type == "epoll" and os.getenv "PROSODY_EPOLL_SIGNALS" ~= "1" then
- -- Until we can track down why this only works for me
- server.hook_signal = nil;
-end
-
-- If server.hook_signal exists, replace signal.signal()
local has_signal, signal = pcall(require, "prosody.util.signal");
if has_signal then