]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: http: compression still has defects on chunked responses
authorWilly Tarreau <w@1wt.eu>
Tue, 9 Apr 2013 06:13:58 +0000 (08:13 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 14 Apr 2013 21:32:53 +0000 (23:32 +0200)
commit667c2a3d2ae7a651d162fe709a7290060bf82497
tree305cb96f45f188e0864a48af085bbfb305c6676c
parent04b3a197098983c145090632a06c13d7ee6a18dd
BUG/MAJOR: http: compression still has defects on chunked responses

The compression state machine happens to start work it cannot undo if
there's no more data in the input buffer, and has trouble accounting
for it. Fixing it requires more than a few lines, as the confusion is
in part caused by the way the pointers to the various places in the
message are handled internally. So as a temporary fix, let's disable
compression on chunk-encoded responses. This will give us more time
to perform the required changes.
src/proto_http.c