[3.0] 30dc140 Sigh, this one is the working part of the fix:
Tollef Fog Heen
tfheen at varnish-cache.org
Mon Apr 22 13:26:59 CEST 2013
commit 30dc140793cd48a760cf2b46021f630497fe6e30
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/stevedore.c b/bin/varnishd/stevedore.c
index 00eb645..d1b59c2 100644
--- a/bin/varnishd/stevedore.c
+++ b/bin/varnishd/stevedore.c
@@ -140,6 +140,8 @@ stv_pick_stevedore(const struct sess *sp, const char **hint)
WSP(sp, 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