← Commit list

133785b159

Viktor Szakats
Viktor Szakats
2026-08-05
SUCCESS Duration: 396s

Subject

servers: drop re-registering the signal handler on modern systems

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

tests/server/util.c+2 -0
@@ -415,7 +415,9 @@ static void exit_signal_handler(int signum)
(void)SetEvent(exit_event);
#endif
}
+#if !(defined(HAVE_SIGACTION) && defined(SA_RESTART))
(void)signal(signum, exit_signal_handler);
+#endif
errno = old_errno;
}
#if defined(CURL_HAVE_DIAG) && !defined(__clang__)