]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: compression: Introduce minimum size
authorVincent Dechenaux <vincent.dechenaux@gmail.com>
Fri, 21 Feb 2025 21:37:57 +0000 (22:37 +0100)
committerWilly Tarreau <w@1wt.eu>
Sat, 22 Feb 2025 10:32:40 +0000 (11:32 +0100)
commit9011b3621b283efb6872ae9a3ae7fa02f94ad190
tree855b18acb6699983d1377064b857801d4b3ebd5a
parente7510d62306ec4152db3c171744e2e1ef6b8de63
MINOR: compression: Introduce minimum size

This is the introduction of "minsize-req" and "minsize-res".
These two options allow you to set the minimum payload size required for
compression to be applied.
This helps save CPU on both server and client sides when the payload does
not need to be compressed.
doc/configuration.txt
include/haproxy/compression-t.h
reg-tests/compression/min_size.vtc [new file with mode: 0644]
src/flt_http_comp.c
src/proxy.c