Commit 8ea22382 authored by Mladen Turk's avatar Mladen Turk
Browse files

Remove the unused close_connection function.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105069 13f79535-47bb-0310-9956-ffa450edef68
parent f0bdc360
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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, ...)
+0 −11
Original line number Diff line number Diff line
@@ -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;