]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: mention that "compression offload" is ignored in defaults section
authorWilly Tarreau <w@1wt.eu>
Sat, 12 Jul 2014 14:37:02 +0000 (16:37 +0200)
committerWilly Tarreau <w@1wt.eu>
Sat, 12 Jul 2014 14:37:02 +0000 (16:37 +0200)
This one is not inherited from defaults into frontends nor backends
because it would create a confusion situation where it would be hard
to disable it (since both frontend and backend would enable it).

doc/configuration.txt

index 96da1cc28372e5c77f0505d57d1a5bdef468b3a9..d69bb11f3a4a04530caca0ad096566f366e4259b 100644 (file)
@@ -2158,7 +2158,8 @@ compression offload
   invalid payloads. In this case, simply removing the header in the
   configuration does not work because it applies before the header is parsed,
   so that prevents haproxy from compressing. The "offload" setting should
-  then be used for such scenarios.
+  then be used for such scenarios. Note: for now, the "offload" setting is
+  ignored when set in a defaults section.
 
   Compression is disabled when:
     * the request does not advertise a supported compression algorithm in the