From: Jeff Trawick Date: Mon, 7 May 2001 18:41:57 +0000 (+0000) Subject: get the MPMs consistent w.r.t. visibility of ap_max_requests_per_child X-Git-Tag: 2.0.18~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f82cbee145ceb861564238c136881274e28010d;p=thirdparty%2Fapache%2Fhttpd.git get the MPMs consistent w.r.t. visibility of ap_max_requests_per_child git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89051 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/mpm/beos/beos.c b/server/mpm/beos/beos.c index c0128df9b52..fcbb638c77d 100644 --- a/server/mpm/beos/beos.c +++ b/server/mpm/beos/beos.c @@ -90,7 +90,7 @@ */ int ap_threads_per_child=HARD_THREAD_LIMIT; /* Worker threads per child */ -int ap_max_requests_per_child=0; +static int ap_max_requests_per_child=0; static const char *ap_pid_fname=NULL; static int ap_threads_to_start=0; static int min_spare_threads=0; diff --git a/server/mpm/beos/beos.h b/server/mpm/beos/beos.h index 4b37a65ec99..b942bf9efca 100644 --- a/server/mpm/beos/beos.h +++ b/server/mpm/beos/beos.h @@ -60,7 +60,6 @@ #define APACHE_MPM_BEOS_H extern int ap_threads_per_child; -extern int ap_max_requests_per_child; extern int ap_pipe_of_death[2]; extern int ap_extended_status; extern void clean_child_exit(int); diff --git a/server/mpm/threaded/mpm.h b/server/mpm/threaded/mpm.h index 3359f8cca5f..51a3965ce3c 100644 --- a/server/mpm/threaded/mpm.h +++ b/server/mpm/threaded/mpm.h @@ -71,7 +71,6 @@ #define MPM_NOTE_CHILD_KILLED(i) (MPM_CHILD_PID(i) = 0) extern int ap_threads_per_child; -extern int ap_max_requests_per_child; extern int ap_max_daemons_limit; extern server_rec *ap_server_conf; extern char ap_coredump_dir[MAX_STRING_LEN]; diff --git a/server/mpm/threaded/threaded.c b/server/mpm/threaded/threaded.c index 05e29a781b8..c90b7d19dc0 100644 --- a/server/mpm/threaded/threaded.c +++ b/server/mpm/threaded/threaded.c @@ -100,7 +100,7 @@ */ int ap_threads_per_child=0; /* Worker threads per child */ -int ap_max_requests_per_child=0; +static int ap_max_requests_per_child=0; static const char *ap_pid_fname=NULL; static int ap_daemons_to_start=0; static int min_spare_threads=0; diff --git a/server/mpm/winnt/mpm_winnt.h b/server/mpm/winnt/mpm_winnt.h index cec0a64ce4a..c4839bdcae8 100644 --- a/server/mpm/winnt/mpm_winnt.h +++ b/server/mpm/winnt/mpm_winnt.h @@ -112,7 +112,6 @@ void mpm_start_child_console_handler(void); /* From winnt.c: */ extern OSVERSIONINFO osver; -extern int ap_max_requests_per_child; extern void clean_child_exit(int); AP_DECLARE(void) ap_start_shutdown(void); diff --git a/support/httpd.exp b/support/httpd.exp index 04581acf529..29a0b4d1841 100644 --- a/support/httpd.exp +++ b/support/httpd.exp @@ -198,7 +198,6 @@ ap_make_etag ap_make_full_path ap_make_method_list ap_matches_request_vhost -ap_max_requests_per_child ap_md5 ap_md5_binary ap_md5contextTo64