]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: compression: Update the reasons for disabled compression
authorTim Duesterhus <tim@bastelstu.be>
Wed, 30 Jan 2019 22:46:04 +0000 (23:46 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 31 Jan 2019 03:33:07 +0000 (04:33 +0100)
- 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.

doc/configuration.txt

index 00532a895ae239b4783b1fc43ef67a4ec7cb2d21..adc6efa25bf913f814a208a43fefab0a39458944 100644 (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.