Commit 0bc73fb0 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Make varnishd actually work again after my last commit: Forgot to adjust

default VCL



git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1644 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 8783ce18
......@@ -81,7 +81,13 @@ VRT_GetHdr(struct sess *sp, enum gethdr_e where, const char *n)
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:
......
......@@ -122,7 +122,7 @@ static const char *default_vcl =
" if (!obj.cacheable) {\n"
" pass;\n"
" }\n"
" if (resp.http.Set-Cookie) {\n"
" if (obj.http.Set-Cookie) {\n"
" pass;\n"
" }\n"
" insert;\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment