]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: compression: don't send leading zeroes with chunk size
authorWilly Tarreau <w@1wt.eu>
Sat, 28 Mar 2015 11:05:47 +0000 (12:05 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 28 Mar 2015 11:05:47 +0000 (12:05 +0100)
commit15530d28a4ff58a370b27bde9672aaf7dbb7341f
tree5fc889db5d7e1bea571c36c472e5bacb0a6c66f8
parentd328af5981322f6741da3ebcd01307259ae326fe
MEDIUM: compression: don't send leading zeroes with chunk size

Till now we used to rely on a fixed maximum chunk size. Thanks to last
commit we're now free to adjust the chunk's length before sending the
data, so we don't have to use 6 digits all the time anymore, and if
one wants buffers larger than 16 MB it is now possible.
include/proto/compression.h
src/compression.c