haproxy/include
Christopher Faulet 621da6bafa BUG/MEDIUM: channel/htx: Use the total HTX size in channel_htx_recv_limit()
The receive limit of an HTX channel must be calculated against the total size of
the HTX message. Otherwise, the buffer may never be seen as full whereas the
receive limit is 0. Indeed, the function channel_htx_full() already takes care
to add a block size to the buffer's reserve (8 bytes). So if the function
channel_htx_recv_limit() also keep a block size free in addition to the buffer's
reserve, it means that at least 2 block size will be kept free but only one will
be taken into account, freezing the stream if the option http-buffer-request is
enabled.

This patch fixes the Github issue #136. It should be backported to 2.0 and
1.9. Thanks jaroslawr (Jarosław Rzeszótko) for his help.
2019-07-02 21:32:45 +02:00
..
common BUG/MEDIUM: channel/htx: Use the total HTX size in channel_htx_recv_limit() 2019-07-02 21:32:45 +02:00
import BUILD: threads/plock: fix a build issue on Clang without optimization 2017-11-20 21:06:35 +01:00
proto BUG/MEDIUM: channel/htx: Use the total HTX size in channel_htx_recv_limit() 2019-07-02 21:32:45 +02:00
types BUG/MINOR: mworker/cli: don't output a \n before the response 2019-07-01 15:34:11 +02:00