You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@hyperreal.org on 1999/12/15 22:39:12 UTC
cvs commit: apache-2.0/src/modules/mpm/prefork prefork.c scoreboard.h
rbb 99/12/15 13:39:11
Modified: src/modules/mpm/prefork prefork.c scoreboard.h
Log:
Getting rid of more warnings in the prefork mpm.
Revision Changes Path
1.60 +1 -6 apache-2.0/src/modules/mpm/prefork/prefork.c
Index: prefork.c
===================================================================
RCS file: /home/cvs/apache-2.0/src/modules/mpm/prefork/prefork.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- prefork.c 1999/12/14 20:02:50 1.59
+++ prefork.c 1999/12/15 21:39:08 1.60
@@ -90,6 +90,7 @@
#include "apr_portable.h"
#include "httpd.h"
#include "mpm_default.h"
+#include "mpm_status.h"
#include "http_main.h"
#include "http_log.h"
#include "http_config.h"
@@ -1935,12 +1936,6 @@
static ap_socket_t *csd;
static int requests_this_child;
static fd_set main_fds;
-
-API_EXPORT(void) ap_child_terminate(request_rec *r)
-{
- r->connection->keepalive = 0;
- requests_this_child = ap_max_requests_per_child = 1;
-}
int ap_graceful_stop_signalled(void)
{
1.4 +3 -0 apache-2.0/src/modules/mpm/prefork/scoreboard.h
Index: scoreboard.h
===================================================================
RCS file: /home/cvs/apache-2.0/src/modules/mpm/prefork/scoreboard.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- scoreboard.h 1999/11/30 03:52:47 1.3
+++ scoreboard.h 1999/12/15 21:39:09 1.4
@@ -203,6 +203,9 @@
#define START_PREQUEST 1
#define STOP_PREQUEST 2
+int ap_update_child_status(int child_num, int status, request_rec *r);
+void ap_time_process_request(int child_num, int status);
+
#ifdef __cplusplus
}
#endif