diff --git a/src/cache.c b/src/cache.c index 4f4870524..0c27eec1e 100644 --- a/src/cache.c +++ b/src/cache.c @@ -1801,8 +1801,6 @@ static void http_cache_io_handler(struct appctx *appctx) goto exit; } - res_htx = htx_from_buf(&appctx->outbuf); - len = first->len - sizeof(*cache_ptr) - ctx->sent; res_htx = htx_from_buf(&appctx->outbuf);