From: Ryan Bloom Date: Wed, 15 Dec 1999 21:39:09 +0000 (+0000) Subject: Getting rid of more warnings in the prefork mpm. X-Git-Tag: 1.3.10~90 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ecf9bb296bb4908c3d3945f3542a1645503c8ae6;p=apache Getting rid of more warnings in the prefork mpm. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@84297 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c index d2cd17a4d3..5628061e85 100644 --- a/server/mpm/prefork/prefork.c +++ b/server/mpm/prefork/prefork.c @@ -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" @@ -1936,12 +1937,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) { ap_sync_scoreboard_image(); diff --git a/server/mpm/prefork/scoreboard.h b/server/mpm/prefork/scoreboard.h index a2d9f3accf..cb182b67b2 100644 --- a/server/mpm/prefork/scoreboard.h +++ b/server/mpm/prefork/scoreboard.h @@ -203,6 +203,9 @@ API_VAR_EXPORT extern ap_generation_t volatile ap_my_generation; #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