]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG: compression: properly disable compression when content-type does not match
authorWilly Tarreau <w@1wt.eu>
Mon, 19 Nov 2012 13:55:02 +0000 (14:55 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 Nov 2012 13:55:02 +0000 (14:55 +0100)
commitb97b6190e127ac034946dca80349c649e423d329
tree6d91ea5c05cb2fc3fba9136179a4b52001de7abe
parent16a2147dfe52a817eedf9e8cc6c33a28b3b103d2
BUG: compression: properly disable compression when content-type does not match

Disabling compression based on the content-type was improperly done since the
introduction of the COMP_READY flag, sometimes resulting in truncated responses.
src/proto_http.c