commit | b8d2ee0406666aa21f2906a4921e5e1c7afefb7e | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Mon Feb 25 15:29:51 2019 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue Feb 26 14:04:23 2019 +0100 |
tree | db082322aabf580c07699358e521eede4bf4b28b | |
parent | 2292edf67c03d22c2d2bbe14fbe29b7e677d49ff [diff] |
BUG/MEDIUM: mux-h1: Report the right amount of data xferred in h1_rcv_buf() h1_rcv_buf() must return the amount of data copied in the channel's buffer and not the number of bytes parsed. Because this value is used during the fast forwarding to decrement to_forward value, returning the wrong value leads to undefined behaviours. This patch must be backported to 1.9.