From db0b6fe5edeac84d1db97fc7f62a7794dd3ebb7c Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 7 Aug 2007 06:55:52 +0000 Subject: [PATCH] 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 --- varnish-cache/bin/varnishd/cache_center.c | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.39.5