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:
Christopher Faulet 2019-05-20 09:32:25 +02:00
parent f90c24d14c
commit b8fd4c031c

View File

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