You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Doug MacEachern <do...@opengroup.org> on 1997/09/09 15:21:49 UTC
Re: [STATUS] 1.3b1 Tue Sep 9 04:39:22 EDT 1997
Jim Jagielski <ji...@jaguNET.com> wrote:
> -----------------------------------------------
> 1.3b1 status as of Tue Sep 9 04:39:22 EDT 1997
> -----------------------------------------------
What about Paul Henson's patches?
And, is it too late for the child_terminate() function we talked
about? Remember, one use would be mod_perl's overriding of Perl's
built-in exit() so apache can finish everything it needs to before
terminating the process. Old diff is below.
-Doug
*** http_main.c 1997/08/03 20:37:18 1.195
--- http_main.c 1997/08/09 15:59:21
***************
*** 3221,3226 ****
--- 3221,3231 ----
(void)update_child_status(child_num,SERVER_DEAD, NULL);
}
+ API_EXPORT(void) child_terminate (request_rec *r)
+ {
+ r->connection->keepalive = 0;
+ requests_this_child = max_requests_per_child;
+ }
void
child_main(int child_num_arg)
*** http_main.h 1997/07/21 05:53:46 1.16
--- http_main.h 1997/08/09 15:59:21
***************
*** 96,98 ****
--- 96,99 ----
void time_process_request (int child_num, int status);
unsigned int set_callback_and_alarm(void (*fn)(int), int x);
int check_alarm(void);
+ API_EXPORT(void) child_terminate (void);