mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
*) mod_proxy: Fix KeepAlives not being allowed and set to
backend servers. PR38602. [Ruediger Pluem, Jim Jagielski] Also, document previous patch: *) Correctly initialize mod_proxy workers, which use a combination of local and shared datasets. Adjust logging to better trace usage. PR38403. [Jim Jagielski] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@378032 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -1868,16 +1868,6 @@ ap_proxy_determine_connection(apr_pool_t *p, request_rec *r,
|
||||
conn->hostname = apr_pstrdup(conn->pool, uri->hostname);
|
||||
conn->port = uri->port;
|
||||
}
|
||||
}
|
||||
/*
|
||||
* TODO: add address cache for generic forward proxies.
|
||||
* At least level 0 -> compare with previous hostname:port
|
||||
*/
|
||||
if (r->proxyreq == PROXYREQ_PROXY || r->proxyreq == PROXYREQ_REVERSE ||
|
||||
!worker->is_address_reusable) {
|
||||
/*
|
||||
* TODO: Check if the connection can be reused
|
||||
*/
|
||||
if (conn->connection) {
|
||||
if (conn->sock) {
|
||||
apr_socket_close(conn->sock);
|
||||
|
Reference in New Issue
Block a user