DOC: compression: unsupported cases.
This patch adds unsupported cases of the compression in the
configuration.txt documentation file.
diff --git a/doc/configuration.txt b/doc/configuration.txt
index ded48de..2229dde 100644
--- a/doc/configuration.txt
+++ b/doc/configuration.txt
@@ -1891,6 +1891,15 @@
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