[PATCH 3/8] Fix check on object pass in fetchbody to check on req->objcore->objhead instead of req->objcore. This to fit the new world order. (This check might be OBE?)
Martin Blix Grydeland
martin at varnish-software.com
Mon Mar 18 17:57:24 CET 2013
---
bin/varnishd/cache/cache_req_fsm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/varnishd/cache/cache_req_fsm.c b/bin/varnishd/cache/cache_req_fsm.c
index 49a6732..af2fa21 100644
--- a/bin/varnishd/cache/cache_req_fsm.c
+++ b/bin/varnishd/cache/cache_req_fsm.c
@@ -587,7 +587,7 @@ cnt_fetchbody(struct worker *wrk, struct req *req)
l += strlen("Content-Length: XxxXxxXxxXxxXxxXxx") + sizeof(void *);
if (bo->exp.ttl < cache_param->shortlived ||
- req->objcore == NULL)
+ req->objcore->objhead == NULL)
req->storage_hint = TRANSIENT_STORAGE;
AZ(bo->stats);
--
1.7.10.4
More information about the varnish-dev
mailing list