commit | 02e771a9e0543e8328c2c156d7e8a3a3f8e22a5f | [log] [tgz] |
---|---|---|
author | Christopher Faulet <cfaulet@haproxy.com> | Tue Feb 26 15:36:05 2019 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Tue Feb 26 15:45:02 2019 +0100 |
tree | 8f9a682c6134001304384be4a781dab700731830 | |
parent | 7402776c52292619c55355a402c35aab3b3b7f7e [diff] |
BUG/MEDIUM: proto_htx: Fix functions applying regex filters on HTX messages The HTX functions htx_apply_filter_to_req_headers() and htx_apply_filter_to_resp_headers() contain 2 bugs. The first one is about the matching on each header. The chunk 'hdr' used to format a full header line was never reset. The second bug appears when we try to replace or remove a header. The variable ctx was not fully initialized, leading to sefaults. This patch must be backported to 1.9.