r1644 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Thu Jul 5 10:42:08 CEST 2007
Author: phk
Date: 2007-07-05 10:42:08 +0200 (Thu, 05 Jul 2007)
New Revision: 1644
Modified:
trunk/varnish-cache/bin/varnishd/cache_vrt.c
trunk/varnish-cache/bin/varnishd/mgt_vcc.c
Log:
Make varnishd actually work again after my last commit: Forgot to adjust
default VCL
Modified: trunk/varnish-cache/bin/varnishd/cache_vrt.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_vrt.c 2007-07-04 14:30:22 UTC (rev 1643)
+++ trunk/varnish-cache/bin/varnishd/cache_vrt.c 2007-07-05 08:42:08 UTC (rev 1644)
@@ -81,7 +81,13 @@
case HDR_REQ:
hp = sp->http;
break;
+ case HDR_BEREQ:
+ hp = sp->bereq->http;
+ break;
case HDR_RESP:
+ hp = sp->http;
+ break;
+ case HDR_OBJ:
hp = &sp->obj->http;
break;
default:
Modified: trunk/varnish-cache/bin/varnishd/mgt_vcc.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/mgt_vcc.c 2007-07-04 14:30:22 UTC (rev 1643)
+++ trunk/varnish-cache/bin/varnishd/mgt_vcc.c 2007-07-05 08:42:08 UTC (rev 1644)
@@ -122,7 +122,7 @@
" if (!obj.cacheable) {\n"
" pass;\n"
" }\n"
- " if (resp.http.Set-Cookie) {\n"
+ " if (obj.http.Set-Cookie) {\n"
" pass;\n"
" }\n"
" insert;\n"
More information about the varnish-commit
mailing list