r4285 - branches/2.0/varnish-cache/bin/varnishd

tfheen at projects.linpro.no tfheen at projects.linpro.no
Thu Oct 8 12:49:10 CEST 2009


Author: tfheen
Date: 2009-10-08 12:49:10 +0200 (Thu, 08 Oct 2009)
New Revision: 4285

Modified:
   branches/2.0/varnish-cache/bin/varnishd/cache_ban.c
Log:
Merge r4087: Try even harder to make ban'ed objects unavailable.



Modified: branches/2.0/varnish-cache/bin/varnishd/cache_ban.c
===================================================================
--- branches/2.0/varnish-cache/bin/varnishd/cache_ban.c	2009-10-08 10:32:43 UTC (rev 4284)
+++ branches/2.0/varnish-cache/bin/varnishd/cache_ban.c	2009-10-08 10:49:10 UTC (rev 4285)
@@ -529,6 +529,7 @@
 		return (0);
 	} else {
 		o->ttl = 0;
+		o->cacheable = 0;
 		WSP(sp, SLT_ExpBan, "%u was banned", o->xid);
 		EXP_Rearm(o);
 		o->ban = NULL;



More information about the varnish-commit mailing list