rbb 99/01/28 13:54:08
Modified: pthreads/src/main http_main.c
Log:
Ignore SIG_PIPE, so server doesn't go down when a user stops their browser.
Revision Changes Path
1.4 +4 -0 apache-apr/pthreads/src/main/http_main.c
Index: http_main.c
===================================================================
RCS file: /home/cvs/apache-apr/pthreads/src/main/http_main.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- http_main.c 1999/01/26 16:59:01 1.3
+++ http_main.c 1999/01/28 21:54:07 1.4
@@ -821,6 +821,10 @@
static void set_signals(void)
{
+
+#ifdef SIGPIPE
+ signal(SIGPIPE, SIG_IGN);
+#endif
/* ZZZ: what signals do we need to configure? */
}