[4.0] 3781556 Allow streaming for secondary requests.

Poul-Henning Kamp phk at FreeBSD.org
Thu Mar 13 10:24:32 CET 2014


commit 3781556d8294e17bc903657d2bdd2690a3e204f0
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Wed Mar 12 10:14:33 2014 +0000

    Allow streaming for secondary requests.

diff --git a/bin/varnishd/cache/cache_hash.c b/bin/varnishd/cache/cache_hash.c
index 9d5f9d1..882c84b 100644
--- a/bin/varnishd/cache/cache_hash.c
+++ b/bin/varnishd/cache/cache_hash.c
@@ -404,7 +404,7 @@ HSH_Lookup(struct req *req, struct objcore **ocp, struct objcore **bocp,
 		if (oc->flags & (OC_F_FAILED | OC_F_DYING))
 			continue;
 
-		if (oc->flags & OC_F_BUSY || oc->busyobj != NULL) {
+		if (oc->flags & OC_F_BUSY) {
 			CHECK_OBJ_ORNULL(oc->busyobj, BUSYOBJ_MAGIC);
 			if (req->hash_ignore_busy)
 				continue;



More information about the varnish-commit mailing list