summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGraham Leggett <minfrin@apache.org>2011-11-22 14:10:39 +0100
committerGraham Leggett <minfrin@apache.org>2011-11-22 14:10:39 +0100
commit4ee7eea4cf60fad5fca9fe9c39d306ae870b5907 (patch)
tree26ad4d77ee36f67a65343a1d5a13cc31ecc458e8 /include
parentPartial cleanup of trunk STATUS. (diff)
downloadapache2-4ee7eea4cf60fad5fca9fe9c39d306ae870b5907.tar.xz
apache2-4ee7eea4cf60fad5fca9fe9c39d306ae870b5907.zip
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
Diffstat (limited to 'include')
-rw-r--r--include/httpd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/httpd.h b/include/httpd.h
index 39d10e1c4c..c56a88b5b2 100644
--- a/include/httpd.h
+++ b/include/httpd.h
@@ -1003,6 +1003,12 @@ struct request_rec {
apr_uri_t parsed_uri;
/** finfo.protection (st_mode) set to zero if no such file */
apr_finfo_t finfo;
+
+ /** remote address information from conn_rec, can be overridden if
+ * necessary by a module.
+ */
+ apr_sockaddr_t *remote_addr;
+ char *remote_ip;
};
/**