From: Roy T. Fielding Date: Thu, 26 Aug 1999 16:04:13 +0000 (+0000) Subject: Replace SIGUSR1 with SIGWINCH X-Git-Tag: PRE_APR_CHANGES~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6ba43b62eb08649e48e632726e41fd3991934ce;p=apache Replace SIGUSR1 with SIGWINCH Submitted by: Manoj Kasichainula git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83777 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/http/http_protocol.c b/modules/http/http_protocol.c index b2af9fc742..e24b56e428 100644 --- a/modules/http/http_protocol.c +++ b/modules/http/http_protocol.c @@ -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); */