commit | bf3ae61789e21f4ed48160e14ce7fb03bf3897fa | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@exceliance.fr> | Mon Nov 19 12:35:37 2012 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Mon Nov 19 14:57:29 2012 +0100 |
tree | 5a4e8b600d68546e43e7259918b902246484ff45 | |
parent | b97b6190e127ac034946dca80349c649e423d329 [diff] |
MEDIUM: compression: don't compress when no data This patch makes changes in the http_response_forward_body state machine. It checks if the compress algorithm had consumed data before swapping the temporary and the input buffer. So it prevents null sized zlib chunks.