]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: compression: Use the right buffer pointers to compress input data
authorChristopher Faulet <cfaulet@haproxy.com>
Mon, 17 Dec 2018 11:02:57 +0000 (12:02 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 17 Dec 2018 12:46:38 +0000 (13:46 +0100)
commit9666720c83ab2b5a6a4214cb0a61c9250b564626
treebc0144f5cff62bb5b5b735644f2b6f45b265e9cb
parent2a7d6502bfe8a9357064c1669d5c1739171c84a4
BUG/MEDIUM: compression: Use the right buffer pointers to compress input data

A bug was introduced when the buffers API was refactored. It was when wrapping
input data were compressed. the pointer b_peek(in, 0) was used instead of
"b_orig(in)". b_peek(in, 0) is in fact the same as b_head(in).
src/flt_http_comp.c