From: dgaudet Date: Sun, 20 Jun 1999 23:09:53 +0000 (+0000) Subject: ap_mpm_graceful_stop -> ap_graceful_stop_signalled X-Git-Tag: 1.3.7~79 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10a5e5bba2b6da5f7ee82f48f64de3bddea4ff11;p=thirdparty%2Fapache%2Fhttpd.git ap_mpm_graceful_stop -> ap_graceful_stop_signalled git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@83355 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/include/ap_mpm.h b/include/ap_mpm.h index ddd3e086c82..bd3b7a655f2 100644 --- a/include/ap_mpm.h +++ b/include/ap_mpm.h @@ -112,7 +112,7 @@ API_EXPORT(int) ap_mpm_run(pool *pconf, pool *plog, server_rec *server_conf); /* predicate indicating if a graceful stop has been requested ... used by the connection loop */ -API_EXPORT(int) ap_mpm_graceful_stop(void); +API_EXPORT(int) ap_graceful_stop_signalled(void); /* a mutex which synchronizes threads within one process */ typedef struct ap_thread_mutex ap_thread_mutex; diff --git a/server/connection.c b/server/connection.c index 4cdfbcf5e0f..2ee7680f90c 100644 --- a/server/connection.c +++ b/server/connection.c @@ -206,7 +206,7 @@ CORE_EXPORT(void) ap_process_connection(conn_rec *c) ap_destroy_pool(r->pool); - if (ap_mpm_graceful_stop()) { + if (ap_graceful_stop_signalled()) { /* XXX: hey wait, this should do a lingering_close! */ ap_bclose(c->client); return;