]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: compression: make the stats a bit more robust
authorWilly Tarreau <w@1wt.eu>
Tue, 27 Nov 2012 06:35:31 +0000 (07:35 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 27 Nov 2012 08:34:00 +0000 (09:34 +0100)
commit8139b9959f31a4822f9c55fc8622481525725894
tree8b2fac93cbd29ba897099d4e3fc853a534cbe015
parent91015350381558d9425a939ed1afaf48a799e89c
MINOR: compression: make the stats a bit more robust

To ensure that we only count when a response was compressed, we also
check for the SN_COMP_READY flag which indicates that the compression
was effectively initialized. Comp_algo alone is meaningless.
src/proto_http.c
src/session.c