Skip to content

Commit

Permalink
try to fix SIGHUP not existing in windows in cgi-fcgi
Browse files Browse the repository at this point in the history
  • Loading branch information
mcarbonneaux committed Nov 5, 2024
1 parent a9f6876 commit 99c1b0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cgi-fcgi/cgi-fcgi.c
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,9 @@ int main(int argc, char **argv)
setsid();

/* Register our signal handler */
#ifndef _WIN32
signal(SIGHUP, handle_shutdown);
#endif
signal(SIGINT, handle_shutdown);
signal(SIGTERM, handle_shutdown);

Expand Down

0 comments on commit 99c1b0a

Please sign in to comment.