Return-Path: Delivered-To: apmail-apache-cvs-archive@apache.org Received: (qmail 15470 invoked by uid 500); 3 Apr 2001 19:12:20 -0000 Mailing-List: contact apache-cvs-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-cvs@apache.org Received: (qmail 15459 invoked by uid 500); 3 Apr 2001 19:12:18 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 3 Apr 2001 19:12:16 -0000 Message-ID: <20010403191216.15454.qmail@apache.org> From: trawick@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/modules/generators mod_cgid.c trawick 01/04/03 12:12:16 Modified: modules/generators mod_cgid.c Log: clean up some mod_cgid issues related to other child maintenance... the APR_OC_REASON_DEATH/APR_OC_REASON_LOST code was sending SIGWINCH to the parent (usually init) instead of itself APR_OC_REASON_RESTART/_UNREGISTER code separated so that we go through there once Revision Changes Path 1.83 +3 -1 httpd-2.0/modules/generators/mod_cgid.c Index: mod_cgid.c =================================================================== RCS file: /home/cvs/httpd-2.0/modules/generators/mod_cgid.c,v retrieving revision 1.82 retrieving revision 1.83 diff -u -r1.82 -r1.83 --- mod_cgid.c 2001/03/29 03:23:44 1.82 +++ mod_cgid.c 2001/04/03 19:12:14 1.83 @@ -236,9 +236,11 @@ /* stop gap to make sure everything else works. In the end, * we'll just restart the cgid server. */ apr_pool_destroy(pcgi); - kill(getppid(), SIGWINCH); + kill(getpid(), SIGWINCH); /* yes, to ourself */ break; case APR_OC_REASON_RESTART: + apr_proc_other_child_unregister(data); + break; case APR_OC_REASON_UNREGISTER: apr_pool_destroy(pcgi); kill(*sd, SIGHUP);