www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: config/3906: Servers hang on either Keepalive or on Read (if keepalive is turned off)
Date Wed, 21 Apr 1999 00:14:15 GMT
BTW, here's a patch you may want to try.  It's just a wild guess though... 

Dean

Index: main/http_main.c
===================================================================
RCS file: /home/cvs/apache-1.3/src/main/http_main.c,v
retrieving revision 1.430
diff -u -r1.430 http_main.c
--- http_main.c	1999/04/20 19:15:39	1.430
+++ http_main.c	1999/04/21 00:07:43
@@ -3601,6 +3601,7 @@
 #endif
 #endif
     signal(SIGALRM, alrm_handler);
+    signal(SIGUSR2, alrm_handler);
 
 #ifdef OS2
 /* Stop Ctrl-C/Ctrl-Break signals going to child processes */
@@ -4105,7 +4106,7 @@
 		else if (ps->last_rtime + ss->timeout_len < now) {
 		    /* no progress, and the timeout length has been exceeded */
 		    ss->timeout_len = 0;
-		    kill(ps->pid, SIGALRM);
+		    kill(ps->pid, SIGUSR2);
 		}
 	    }
 #endif


Mime
View raw message