From: Mladen Turk Date: Sat, 11 Sep 2004 09:12:26 +0000 (+0000) Subject: Remove the unused close_connection function. X-Git-Tag: 2.1.1~304 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dca2aae9b3cbd9e6b77aca33b9bfeee5cad2350f;p=thirdparty%2Fapache%2Fhttpd.git Remove the unused close_connection function. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105069 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/proxy/mod_proxy.h b/modules/proxy/mod_proxy.h index f2ebe9adc92..caba7ad3621 100644 --- a/modules/proxy/mod_proxy.h +++ b/modules/proxy/mod_proxy.h @@ -547,13 +547,6 @@ PROXY_DECLARE(int) ap_proxy_acquire_connection(const char *proxy_function, PROXY_DECLARE(int) ap_proxy_release_connection(const char *proxy_function, proxy_conn_rec *conn, server_rec *s); -/** - * Close the connection - * @param conn connection to close - * @return APR_SUCCESS or error code - */ -PROXY_DECLARE(apr_status_t) ap_proxy_close_connection(proxy_conn_rec *conn); - /** * Make a connection to the backend * @param proxy_function calling proxy scheme (http, ajp, ...) diff --git a/modules/proxy/proxy_util.c b/modules/proxy/proxy_util.c index ce2472f2951..66e9438ba61 100644 --- a/modules/proxy/proxy_util.c +++ b/modules/proxy/proxy_util.c @@ -1366,17 +1366,6 @@ static apr_status_t connection_destructor(void *resource, void *params, return APR_SUCCESS; } -/* Close the connection - * The proxy_conn_rec from now on can not be used - */ -PROXY_DECLARE(apr_status_t) ap_proxy_close_connection(proxy_conn_rec *conn) -{ - - if (conn->worker && conn->worker->cp) - conn->worker->cp->conn = NULL; - return connection_destructor(conn, NULL, NULL); -} - PROXY_DECLARE(apr_status_t) ap_proxy_initialize_worker(proxy_worker *worker, server_rec *s) { apr_status_t rv;