about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--ext/http11/http11.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/http11/http11.c b/ext/http11/http11.c
index e0feece..a228019 100644
--- a/ext/http11/http11.c
+++ b/ext/http11/http11.c
@@ -112,6 +112,8 @@ static struct common_field common_http_fields[] = {
         f("UPGRADE"),
         f("USER_AGENT"),
         f("VIA"),
+        f("X_FORWARDED_FOR"), /* common for proxies */
+        f("X_REAL_IP"), /* common for proxies */
         f("WARNING")
 # undef f
 };