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
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88697
13f79535-47bb-0310-9956-
ffa450edef68
/* 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);