From: phk Date: Wed, 19 Jul 2006 11:53:06 +0000 (+0000) Subject: Avoid the Error path for now. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c3e19435af0cd7cc6c1383c36a8d79cc4df7e0cc;p=varnish Avoid the Error path for now. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@498 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/rfc2616.c b/varnish-cache/bin/varnishd/rfc2616.c index ddd01da9..199b6ed6 100644 --- a/varnish-cache/bin/varnishd/rfc2616.c +++ b/varnish-cache/bin/varnishd/rfc2616.c @@ -148,6 +148,7 @@ RFC2616_cache_policy(struct sess *sp, struct http *hp) break; default: sp->obj->cacheable = 0; + sp->obj->valid = 1; /* XXX ? */ body = 0; break; }