1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

mod_proxy: Make sure we populate the client IP from the peer IP for proxy

fake requests.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1209814 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Graham Leggett
2011-12-03 01:08:59 +00:00
parent 3ab3e5ed3e
commit 1a7b79088b

View File

@@ -382,6 +382,8 @@ PROXY_DECLARE(request_rec *)ap_proxy_make_fake_req(conn_rec *c, request_rec *r)
rp->input_filters = c->input_filters;
rp->proto_output_filters = c->output_filters;
rp->proto_input_filters = c->input_filters;
rp->client_ip = c->peer_ip;
rp->client_addr = c->peer_addr;
rp->request_config = ap_create_request_config(pool);
proxy_run_create_req(r, rp);