Mailing List Archive

r2652 - trunk/varnish-cache/bin/varnishd
Author: phk
Date: 2008-06-06 23:50:17 +0200 (Fri, 06 Jun 2008)
New Revision: 2652

Modified:
trunk/varnish-cache/bin/varnishd/cache_http.c
Log:
Spell "X-Forwarded-for" as "X-Forwarded-For", this seems to match the
unwritten lore better.

Closes 203


Modified: trunk/varnish-cache/bin/varnishd/cache_http.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_http.c 2008-06-06 10:42:55 UTC (rev 2651)
+++ trunk/varnish-cache/bin/varnishd/cache_http.c 2008-06-06 21:50:17 UTC (rev 2652)
@@ -655,7 +655,7 @@
http_FilterFields(sp->wrk, sp->fd, hp, sp->http, how);
http_PrintfHeader(sp->wrk, sp->fd, hp, "X-Varnish: %u", sp->xid);
http_PrintfHeader(sp->wrk, sp->fd, hp,
- "X-Forwarded-for: %s", sp->addr);
+ "X-Forwarded-For: %s", sp->addr);

sp->bereq = bereq;