summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Userland/Services/RequestServer/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Services/RequestServer/main.cpp b/Userland/Services/RequestServer/main.cpp
index 7586688917..30d83dee1a 100644
--- a/Userland/Services/RequestServer/main.cpp
+++ b/Userland/Services/RequestServer/main.cpp
@@ -24,7 +24,9 @@ ErrorOr<int> serenity_main(Main::Arguments)
else
TRY(Core::System::pledge("stdio inet accept unix rpath sendfd recvfd sigaction"));
+#ifdef SIGINFO
signal(SIGINFO, [](int) { RequestServer::ConnectionCache::dump_jobs(); });
+#endif
if constexpr (TLS_SSL_KEYLOG_DEBUG)
TRY(Core::System::pledge("stdio inet accept unix cpath wpath rpath sendfd recvfd"));