]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: compression: unsupported cases.
authorWilliam Lallemand <wlallemand@exceliance.fr>
Tue, 20 Nov 2012 11:14:28 +0000 (12:14 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 21 Nov 2012 01:15:16 +0000 (02:15 +0100)
This patch adds unsupported cases of the compression in the
configuration.txt documentation file.

doc/configuration.txt

index ded48dec814581a67ff4004189c4bb6e185b211b..2229dde53c70506a321503a0f5a8da7a707be132 100644 (file)
@@ -1891,6 +1891,15 @@ compression offload
   before the header is parsed, so that prevents haproxy from compressing. The
   "offload" setting should then be used for such scenarios.
 
+  Compression is disabled when:
+    * the server is not HTTP/1.1.
+    * requests does not contain Transfer-Encoding: chunked or Content-Length.
+    * the request contains "Cache-control: no-transform".
+    * User-Agent matches "Mozilla/4" except MSIE 6 with XP SP2, or MSIE 7 and later.
+    * The response is already compressed (see compression offload).
+
+  The compression does not rewrite Etag headers
+
   Examples :
         compression algo gzip
         compression type text/html text/plain