httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug MacEachern <do...@opengroup.org>
Subject Re: [STATUS] 1.3b1 Tue Sep 9 04:39:22 EDT 1997
Date Tue, 09 Sep 1997 13:21:49 GMT
Jim Jagielski <jim@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);

Mime
View raw message