commit | 458eafb36df88932a02d1ce7ca31832abf11b8b3 | [log] [tgz] |
---|---|---|
author | Richard Russo <russor@whatsapp.com> | Wed Jul 31 11:45:56 2019 -0700 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Thu Aug 01 11:35:29 2019 +0200 |
tree | 7857216e4200e1878d7302fd2b2aea105ffe9589 | |
parent | 0a52c17f819a5b0a17718b605bdd990b9e2b58e6 [diff] |
BUG/MAJOR: http/sample: use a static buffer for raw -> htx conversion Multiple calls to smp_fetch_fhdr use the header context to keep track of header parsing position; however, when using header sampling on a raw connection, the raw buffer is converted into an HTX structure each time, and this was done in the trash areas; so the block reference would be invalid on subsequent calls. This patch must be backported to 2.0 and 1.9.