r2265 - trunk/varnish-cache/bin/varnishd
phk at projects.linpro.no
phk at projects.linpro.no
Tue Nov 20 12:23:37 CET 2007
Author: phk
Date: 2007-11-20 12:23:37 +0100 (Tue, 20 Nov 2007)
New Revision: 2265
Modified:
trunk/varnish-cache/bin/varnishd/cache_center.c
Log:
We should never have an object when we hit the error state.
Modified: trunk/varnish-cache/bin/varnishd/cache_center.c
===================================================================
--- trunk/varnish-cache/bin/varnishd/cache_center.c 2007-11-20 11:11:17 UTC (rev 2264)
+++ trunk/varnish-cache/bin/varnishd/cache_center.c 2007-11-20 11:23:37 UTC (rev 2265)
@@ -275,6 +275,7 @@
cnt_error(struct sess *sp)
{
+ AZ(sp->obj);
RES_Error(sp, sp->err_code, sp->err_reason);
sp->err_code = 0;
sp->err_reason = NULL;
More information about the varnish-commit
mailing list