CLEANUP: cache: remove redundant res_htx assignment in http_cache_io_handler()

It's probably a leftover of an old check, res_htx is assigned twice the
same way. Let's just drop one.
This commit is contained in:
Willy Tarreau 2026-05-11 15:27:06 +02:00
parent adb9a5f82f
commit 827defccda

View File

@ -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);