]> err.no Git - varnish/commitdiff
Mark responses with Set-Cookie as "pass"
authorphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 6 Sep 2006 09:58:24 +0000 (09:58 +0000)
committerphk <phk@d4fa192b-c00b-0410-8231-f00ffab90ce4>
Wed, 6 Sep 2006 09:58:24 +0000 (09:58 +0000)
git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@920 d4fa192b-c00b-0410-8231-f00ffab90ce4

varnish-cache/bin/varnishd/mgt_vcc.c

index 44c6bade08d6aa9d0767103b3529e70a76fb992b..0c90731ec82f901ec5dad9a9606b0ff663f8cdc6 100644 (file)
@@ -69,6 +69,9 @@ static const char *default_vcl =
     "    if (!obj.cacheable) {\n"
     "        insert_pass;\n"
     "    }\n"
+    "    if (resp.http.Set-Cookie) {\n"
+    "        insert_pass;\n"
+    "    }\n"
     "    insert;\n"
     "}\n"
     "sub default_vcl_timeout {\n"