]> granicus.if.org Git - apache/commitdiff
Replace SIGUSR1 with SIGWINCH
authorRoy T. Fielding <fielding@apache.org>
Thu, 26 Aug 1999 16:04:13 +0000 (16:04 +0000)
committerRoy T. Fielding <fielding@apache.org>
Thu, 26 Aug 1999 16:04:13 +0000 (16:04 +0000)
Submitted by: Manoj Kasichainula

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83777 13f79535-47bb-0310-9956-ffa450edef68

modules/http/http_protocol.c

index b2af9fc7420c13a347b722272d38b175c34280e5..e24b56e428a0f451a55f550c3dd05c5fcb5d9d9f 100644 (file)
@@ -809,9 +809,17 @@ static int read_request_line(request_rec *r)
         }
     }
     /* we've probably got something to do, ignore graceful restart requests */
-#ifdef SIGUSR1
-    signal(SIGUSR1, SIG_IGN);
+
+    /* XXX - sigwait doesn't work if the signal has been SIG_IGNed (under
+     * linux 2.0 w/ glibc 2.0, anyway), and this step isn't necessary when
+     * we're running a sigwait thread anyway. If/when unthreaded mode is
+     * put back in, we should make sure to ignore this signal iff a sigwait
+     * thread isn't used. - mvsk
+
+#ifdef SIGWINCH
+    signal(SIGWINCH, SIG_IGN);
 #endif
+    */
 
     /* //ap_bsetflag(conn->client, B_SAFEREAD, 0); */