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 b229f018ee

This commit should be backported together with b229f018ee
the changes should be correct until 1.7 at the very least, possibly older.
This commit is contained in:
Tim Duesterhus 2019-01-30 23:46:04 +01:00 committed by Willy Tarreau
parent 1f035507af
commit bb48c9a0ee

View File

@ -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.