]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: htx: Never transfer more than expected in htx_xfer_blks()
authorChristopher Faulet <cfaulet@haproxy.com>
Tue, 7 May 2019 08:52:25 +0000 (10:52 +0200)
committerChristopher Faulet <cfaulet@haproxy.com>
Tue, 7 May 2019 20:16:41 +0000 (22:16 +0200)
commitcc5060217e5b88152e22ee26b1c1fe083f357107
treeeb65938d1819b6360ad95a30206d1fd42c75f8f6
parent39593e6ae3442babab462c0b94abf6cc8c755146
BUG/MINOR: htx: Never transfer more than expected in htx_xfer_blks()

When the maximum free space available for data in the HTX message is compared to
the number of bytes to transfer, we must take into account the amount of data
already transferred. Otherwise we may move more data than expected.

This patch must be backported to 1.9.
src/htx.c