mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
Introduce new function ap_get_conn_socket() to access the socket of
a connection git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1135153 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -221,9 +221,7 @@ static int proxy_fdpass_handler(request_rec *r, proxy_worker *worker,
|
||||
}
|
||||
}
|
||||
|
||||
/* XXXXX: THIS IS AN EVIL HACK */
|
||||
/* There should really be a (documented) public API for this ! */
|
||||
clientsock = ap_get_core_module_config(r->connection->conn_config);
|
||||
clientsock = ap_get_conn_socket(r->connection);
|
||||
|
||||
rv = send_socket(r->pool, sock, clientsock);
|
||||
if (rv != APR_SUCCESS) {
|
||||
|
Reference in New Issue
Block a user