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

Introduce a per request version of the remote IP address, which can be

optionally modified by a module when the effective IP of the client
is not the same as the real IP of the client (such as a load balancer).


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1204968 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Graham Leggett
2011-11-22 13:10:39 +00:00
parent e68738b5dc
commit 4ee7eea4cf
18 changed files with 108 additions and 133 deletions

View File

@@ -439,6 +439,9 @@ static request_rec *internal_internal_redirect(const char *new_uri,
new->prev = r;
r->next = new;
new->remote_addr = r->remote_addr;
new->remote_ip = r->remote_ip;
/* Must have prev and next pointers set before calling create_request
* hook.
*/