[master] bba36ef Don't drop non-existent object.
Poul-Henning Kamp
phk at varnish-cache.org
Tue May 24 09:01:03 CEST 2011
commit bba36ef068fbb5d0a09149bb8df78aa9da2babd2
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Tue May 24 07:00:34 2011 +0000
Don't drop non-existent object.
diff --git a/bin/varnishd/cache_center.c b/bin/varnishd/cache_center.c
index 5d2a0d7..13a0bd3 100644
--- a/bin/varnishd/cache_center.c
+++ b/bin/varnishd/cache_center.c
@@ -746,7 +746,6 @@ cnt_fetchbody(struct sess *sp)
sp->wrk->exp.ttl = params->shortlived;
}
if (sp->obj == NULL) {
- HSH_Drop(sp);
sp->err_code = 503;
sp->step = STP_ERROR;
VDI_CloseFd(sp);
More information about the varnish-commit
mailing list