commit | b8fd4c031c4e2f9177d139e3dad46a1b157e6dda | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon May 20 09:32:25 2019 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Fri May 24 09:11:10 2019 +0200 |
tree | 1cd17a02a8c8c35da060f9b611c723ccdabe20fd | |
parent | f90c24d14c6ea541717d92d140f2b4c3f3795117 [diff] |
BUG/MINOR: htx: Remove a forgotten while loop in htx_defrag() Fortunately, this loop does nothing. Otherwise it would have led to an infinite loop. It was probably forgotten during a refactoring, in the early stage of the HTX. This patch must be backported to 1.9.
diff --git a/src/htx.c b/src/htx.c index 525f7ef..9deddb1 100644 --- a/src/htx.c +++ b/src/htx.c
@@ -64,7 +64,7 @@ new++; addr += blksz; - } while (new < htx->used); + } htx->sl_off = sl_off; htx->wrap = htx->used;