mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2024-12-13 23:14:46 +00:00
BUG/MINOR: mux-h1: Process input even if the input buffer is empty
It is required, at least, to add the EOM block and finish the message when the TCP splicing was used to send all data. Otherwise, there is no way to finish the parsing. This patch must be backported to 1.9.
This commit is contained in:
parent
9ab3138d71
commit
91f77d5999
@ -1319,8 +1319,6 @@ static size_t h1_process_input(struct h1c *h1c, struct buffer *buf, int flags)
|
||||
|
||||
data = htx->data;
|
||||
count = b_data(&h1c->ibuf);
|
||||
if (!count)
|
||||
goto end;
|
||||
rsv = ((flags & CO_RFL_KEEP_RSV) ? global.tune.maxrewrite : 0);
|
||||
|
||||
if (htx_is_empty(htx))
|
||||
|
Loading…
Reference in New Issue
Block a user