[master] 67538af Move retries behind refcount so it is cleared when busyobj is recycled.
Poul-Henning Kamp
phk at FreeBSD.org
Mon Mar 24 10:33:33 CET 2014
commit 67538af2af3f4285a12b1e7d9a0044a44c614ec3
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Mon Mar 24 09:33:06 2014 +0000
Move retries behind refcount so it is cleared when busyobj is recycled.
Spotted by: martin
diff --git a/bin/varnishd/cache/cache.h b/bin/varnishd/cache/cache.h
index ac615a4..01ec775 100644
--- a/bin/varnishd/cache/cache.h
+++ b/bin/varnishd/cache/cache.h
@@ -523,8 +523,8 @@ struct busyobj {
* All fields from refcount and down are zeroed when the busyobj
* is recycled.
*/
- int retries;
unsigned refcount;
+ int retries;
double t_fetch;
struct req *req;
More information about the varnish-commit
mailing list