]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: config: make compression work again in defaults section
authorWilly Tarreau <w@1wt.eu>
Wed, 10 May 2023 14:39:00 +0000 (16:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 10 May 2023 14:41:21 +0000 (16:41 +0200)
commit862588a4b51dc99d6db6557ad7ce5fb9db66c17a
treeea0e60dc972eeefac4c0da3c63438711a1f898da
parentb97169629696dd7cc4c8a3f15aa0c960ee113272
BUG/MINOR: config: make compression work again in defaults section

When commit ead43fe4f ("MEDIUM: compression: Make it so we can compress
requests as well.") added the test for the direction flags to select the
compression, it implicitly broke compression defined in defaults sections
because the flags from the default proxy were not recopied, hence the
compression was enabled but in no direction.

No backport is needed, that's 2.8 only.
src/proxy.c