You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Frederic NIVOR <no...@hotmail.com> on 2013/02/21 19:15:16 UTC

[users@httpd] apr_signal() called twice in child process

Hi, 
I've noticed in event.c file, that apr_signal() is called twice :
- in make_child(), in the fork child part, line 2271:  apr_signal(SIGTERM, just_die);
- in child_main(), line 2182:  apr_signal(SIGTERM, dummy_signal_handler);

So I was wondering, is there a reason for that ?

Thanks.
B.R.


 - Frederic NIVOR - 		 	   		  

apr_signal() called twice in child process

Posted by Frederic NIVOR <no...@hotmail.com>.
Hi, 
I've noticed in event.c file (httpd-2.4.3), that apr_signal() is called twice :
- in make_child(), in the fork child part, line 2271:  apr_signal(SIGTERM, just_die);
and a bit latter :
- in child_main(), line 2182:  apr_signal(SIGTERM, dummy_signal_handler);

So I was wondering, is there a reason for that ?

Thanks.
B.R.


 - Frederic NIVOR -