Hi Yann,
Sorry I didn't noticed that I have copied prefork code in mail. I am using
following code in worker :
if (one_process) {
worker_note_child_killed(/* slot */ 0, 0, 0);
atexit(apr_terminate);
}
exit(code);
This patch is not working as expected. To kill worker in
On Thu, Jan 18, 2018 at 4:25 PM, Hemant Chaudhary
wrote:
>
> Yes this patch of code is not working for worker mpm in Apache-2.4.25
Do you mean that the patch does not apply to 2.4.25 (patching fails)
or that when the patch is applied it does not work as expected?
Hi Yann,
Yes this patch of code is not working for worker mpm in Apache-2.4.25
Thanks
Hemant
On Jan 18, 2018 5:28 PM, "Yann Ylavic" wrote:
> Hi Hemant,
>
> On Thu, Jan 18, 2018 at 6:23 AM, Hemant Chaudhary
> wrote:
> > Hi All ,
> >
> > I
Hi Hemant,
On Thu, Jan 18, 2018 at 6:23 AM, Hemant Chaudhary
wrote:
> Hi All ,
>
> I added the following patch of code in my worker.c
> static void clean_child_exit(int code)
>
> if (one_process) {
> prefork_note_child_killed(/* slot */ 0, 0, 0);
> +
Hi All ,
I added the following patch of code in my worker.c
static void clean_child_exit(int code)
if (one_process) {
prefork_note_child_killed(/* slot */ 0, 0, 0);
+atexit(apr_terminate);
}
ap_mpm_pod_close(my_bucket->pod);
When I am starting apache with Worker