]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: compression: disable on multipart or status != 200
authorWilliam Lallemand <wlallemand@exceliance.fr>
Mon, 26 Nov 2012 13:34:47 +0000 (14:34 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 26 Nov 2012 15:02:58 +0000 (16:02 +0100)
commitd300261babe838ac3bdd2f5e2353980845fb3929
treec2a68760d237142753701232bc726ad200932be8
parent859550e068b044bcc85b19f62779e044e1ba8f97
MINOR: compression: disable on multipart or status != 200

The compression is disabled when the HTTP status code is not 200, indeed
compression on some HTTP code can create issues (ex: 206, 416).

Multipart message should not be compressed eitherway.
doc/configuration.txt
src/proto_http.c