]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/HttpRequest.h
Merged from trunk.
[thirdparty/squid.git] / src / HttpRequest.h
index fd6292776b60a5787a292340da9fcaa9ddc86dec..2dcec900a3fd9ea86fe30a96839113a5818f07a3 100644 (file)
@@ -124,6 +124,10 @@ public:
 
     IPAddress client_addr;
 
+#if FOLLOW_X_FORWARDED_FOR
+    IPAddress indirect_client_addr;
+#endif /* FOLLOW_X_FORWARDED_FOR */
+
     IPAddress my_addr;
 
     HierarchyLogEntry hier;
@@ -146,6 +150,10 @@ public:
 
     String extacl_log;         /* String to be used for access.log purposes */
 
+#if FOLLOW_X_FORWARDED_FOR
+    String x_forwarded_for_iterator; /* XXX a list of IP addresses */
+#endif /* FOLLOW_X_FORWARDED_FOR */
+
 public:
     bool multipartRangeRequest() const;