mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-27 11:50:48 -05:00
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.
This commit is contained in:
parent
f90c24d14c
commit
b8fd4c031c
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ struct htx_blk *htx_defrag(struct htx *htx, struct htx_blk *blk)
|
|||
new++;
|
||||
addr += blksz;
|
||||
|
||||
} while (new < htx->used);
|
||||
}
|
||||
|
||||
htx->sl_off = sl_off;
|
||||
htx->wrap = htx->used;
|
||||
|
|
|
|||
Loading…
Reference in a new issue