]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Remove the unused close_connection function.
authorMladen Turk <mturk@apache.org>
Sat, 11 Sep 2004 09:12:26 +0000 (09:12 +0000)
committerMladen Turk <mturk@apache.org>
Sat, 11 Sep 2004 09:12:26 +0000 (09:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105069 13f79535-47bb-0310-9956-ffa450edef68

modules/proxy/mod_proxy.h
modules/proxy/proxy_util.c

index f2ebe9adc92f92d74d2992785c87215c7b668693..caba7ad362157a070235a22b93d30f63d57082c8 100644 (file)
@@ -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, ...)
index ce2472f2951dd26d94c0166ca87569f29ff7e355..66e9438ba6177af70d2bce45d905b3549de360c3 100644 (file)
@@ -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;