r947 - trunk/varnish-cache/bin/varnishd

phk at projects.linpro.no phk at projects.linpro.no
Thu Sep 7 12:14:43 CEST 2006


Author: phk
Date: 2006-09-07 12:14:43 +0200 (Thu, 07 Sep 2006)
New Revision: 947

Modified:
   trunk/varnish-cache/bin/varnishd/storage_file.c
Log:
Missing commit message from previous commit:

Fix a logic bug which allowed storage objects to be trampled on:
the last bucket may contain object smaller than we want.




Modified: trunk/varnish-cache/bin/varnishd/storage_file.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/storage_file.c	2006-09-07 10:12:54 UTC (rev 946)
+++ trunk/varnish-cache/bin/varnishd/storage_file.c	2006-09-07 10:14:43 UTC (rev 947)
@@ -288,7 +288,9 @@
 	smf_initfile(sc, size, 1);
 }
 
-/*--------------------------------------------------------------------*/
+/*--------------------------------------------------------------------
+ * XXX: Temporary sanity checker
+ */
 
 static void
 phk(struct smf_sc *sc, struct smf *sp)




More information about the varnish-commit mailing list