commit | 07b2b0aa146e1d24723192091e220e7ce50f2bfd | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Thu Apr 22 09:43:47 2021 +0200 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Apr 28 11:16:54 2021 +0200 |
tree | 84659f28b5c84d170a4618afafaae916289ce041 | |
parent | bdda8452cb74f3d2e752c4cd208f5444c1a6993b [diff] |
BUG/MINOR: htx: Preserve HTX flags when draining data from an HTX message When all data of an HTX message are drained, we rely on htx_reset() to reinit the message state. However, the flags must be preserved. It is, among other things, important to preserve processing or parsing errors. This patch must be backported as far as 2.0. (cherry picked from commit 5e9b24f4b4e31958d97ce445bb993feb7ebc1421) Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>