[master] 58596b2 Sigh, this one is the working part of the fix:
Poul-Henning Kamp
phk at varnish-cache.org
Mon Aug 13 13:06:22 CEST 2012
commit 58596b2780fdfdfeea4c000fe3e3912196369df2
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Aug 13 11:05:39 2012 +0000
Sigh, this one is the working part of the fix:
If people only specify Transient, run only on Transient.
Fixes #1176
diff --git a/bin/varnishd/storage/stevedore.c b/bin/varnishd/storage/stevedore.c
index 910808f..cd1a316 100644
--- a/bin/varnishd/storage/stevedore.c
+++ b/bin/varnishd/storage/stevedore.c
@@ -144,6 +144,8 @@ stv_pick_stevedore(struct vsl_log *vsl, const char **hint)
VSLb(vsl, SLT_Debug, "Storage hint not usable");
*hint = NULL;
}
+ if (stv_next == NULL)
+ return (stv_transient);
/* pick a stevedore and bump the head along */
stv = VTAILQ_NEXT(stv_next, list);
if (stv == NULL)
More information about the varnish-commit
mailing list