From: phk Date: Tue, 7 Aug 2007 06:55:52 +0000 (+0000) Subject: When vcl_miss() take error action, remember to discard backend request. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db0b6fe5edeac84d1db97fc7f62a7794dd3ebb7c;p=varnish When vcl_miss() take error action, remember to discard backend request. Ticket: 139 git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1807 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- diff --git a/varnish-cache/bin/varnishd/cache_center.c b/varnish-cache/bin/varnishd/cache_center.c index 91cc1b09..e7cc5341 100644 --- a/varnish-cache/bin/varnishd/cache_center.c +++ b/varnish-cache/bin/varnishd/cache_center.c @@ -567,6 +567,8 @@ cnt_miss(struct sess *sp) HSH_Unbusy(sp->obj); HSH_Deref(sp->obj); sp->obj = NULL; + vbe_free_bereq(sp->bereq); + sp->bereq = NULL; sp->step = STP_ERROR; return (0); }