]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: compression: add new "raw-deflate" compression algorithm
authorWilly Tarreau <w@1wt.eu>
Sat, 28 Mar 2015 16:00:39 +0000 (17:00 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 28 Mar 2015 16:01:30 +0000 (17:01 +0100)
commitc91840aa3374548f07029eb3f985f3016ce7f713
treea78ad675d0fd5c3edb2a93b461adf4dd3c485dd6
parent615105e7e88843c43f052a1e2866eb31ccc67cb3
MEDIUM: compression: add new "raw-deflate" compression algorithm

This algorithm is exactly the same as "deflate" without the zlib wrapper,
and used as an alternative when the browser wants "deflate". All major
browsers understand it and despite violating the standards, it is known
to work better than "deflate", at least on MSIE and some versions of
Safari. Do not use it in conjunction with "deflate", use either one or
the other since both react to the same Accept-Encoding token. Note that
the lack of Adler32 checksum makes it slightly faster.
doc/configuration.txt
src/compression.c