From: Tim Duesterhus Date: Wed, 30 Jan 2019 22:46:04 +0000 (+0100) Subject: DOC: compression: Update the reasons for disabled compression X-Git-Tag: v2.0-dev1~103 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb48c9a0eec653147be0e39ff85e624f7a4d5553;p=thirdparty%2Fhaproxy.git DOC: compression: Update the reasons for disabled compression - Update the list of status codes to include 201 - 203. - Remove the fact about the temporary workaround for chunked responses (this is verified using reg-test compression/h00000.vtc). - Add malformed ETags see b229f018eedef4d18571ce6da23d8e153249a836 This commit should be backported together with b229f018eedef4d18571ce6da23d8e153249a836 the changes should be correct until 1.7 at the very least, possibly older. --- diff --git a/doc/configuration.txt b/doc/configuration.txt index 00532a895a..adc6efa25b 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -3100,9 +3100,7 @@ compression offload * the request does not advertise a supported compression algorithm in the "Accept-Encoding" header * the response message is not HTTP/1.1 - * HTTP status code is not 200 - * response header "Transfer-Encoding" contains "chunked" (Temporary - Workaround) + * HTTP status code is not one of 200, 201, 202, or 203 * response contain neither a "Content-Length" header nor a "Transfer-Encoding" whose last value is "chunked" * response contains a "Content-Type" header whose first value starts with @@ -3113,6 +3111,7 @@ compression offload and later * The response contains a "Content-Encoding" header, indicating that the response is already compressed (see compression offload) + * The response contains an invalid "ETag" header or multiple ETag headers Note: The compression does not emit the Warning header.