mirror of
https://github.com/apache/httpd.git
synced 2025-08-07 04:02:58 +03:00
mod_proxy_http, mod_proxy_connect: Add 'proxy-status' and 'proxy-source-port'
request notes for logging PR: 30195 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1154342 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -376,7 +376,8 @@ static int proxy_connect_handler(request_rec *r, proxy_worker *worker,
|
||||
ap_log_rerror(APLOG_MARK, APLOG_TRACE3, 0, r,
|
||||
"proxy: CONNECT: connection complete to %pI (%s)",
|
||||
connect_addr, connectname);
|
||||
|
||||
apr_table_setn(r->notes, "proxy-source-port", apr_psprintf(r->pool, "%hu",
|
||||
backconn->local_addr->port));
|
||||
|
||||
/* If we are connecting through a remote proxy, we need to pass
|
||||
* the CONNECT request on to it.
|
||||
|
Reference in New Issue
Block a user