]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: http: always disable compression on HTTP/1.0
authorWilly Tarreau <w@1wt.eu>
Tue, 24 Dec 2013 13:41:35 +0000 (14:41 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 24 Dec 2013 13:41:35 +0000 (14:41 +0100)
commit72575509caed8cf12cf8b223d6e72421578417f8
treee2832c6dad01eab2ee694066ac342a86800ed5c4
parent068621e4adcf5c1010b233a442f3cd9f28dc0b6e
BUG/MINOR: http: always disable compression on HTTP/1.0

Compression is normally disabled on HTTP/1.0 since it does not
support chunked encoded responses. But the test was incomplete, and
Bertrand Jacquin reported a case where if the server responded using
1.1 to an 1.0 request, then haproxy still used to compress (and of
course the client could not understand the response).

No backport is needed, this is 1.5-specific.
src/proto_http.c