MINOR: compression: Warn for 'compression offload' in defaults sections
authorChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 Nov 2021 11:06:14 +0000 (12:06 +0100)
committerChristopher Faulet <cfaulet@haproxy.com>
Fri, 5 Nov 2021 15:36:42 +0000 (16:36 +0100)
commit44d34bfbe7a4f8eae81dc915f59338c36ce9a168
treef639bc50b07e943f5b6385919a7b6c7fc4e47cfc
parent34a3eb4c4275ef2475ea6848e08e98ae2615bf13
MINOR: compression: Warn for 'compression offload' in defaults sections

This directive is documented as being ignored if set in a defaults
section. But it is only mentionned in a small note in the configuration
manual. Thus, now, a warning is emitted. To do so, the errors handling in
parse_compression_options() function was slightly changed.

In addition, this directive is now documented apart from the other
compression directives. This way, it is clearly visible that it must not be
used in a defaults section.
doc/configuration.txt
src/flt_http_comp.c