From 1d5021a663e11770e35358d36e5678c2e030f4b2 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 2 Mar 2024 13:40:37 +0100 Subject: net.server: Restore epoll signalfd handling Reverts 4a9a69659727 --- net/server.lua | 5 ----- 1 file changed, 5 deletions(-) (limited to 'net') 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 -- cgit v1.2.3