mirror of
https://github.com/haproxy/haproxy.git
synced 2026-05-21 01:15:17 -04:00
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:
parent
adb9a5f82f
commit
827defccda
1 changed files with 0 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue