BUG/MINOR: http_client: make sure to preset the proxy's default settings
authorWilly Tarreau <w@1wt.eu>
Fri, 20 Aug 2021 08:23:12 +0000 (10:23 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 20 Aug 2021 08:23:12 +0000 (10:23 +0200)
commit0e72e40f7e25e5c3a6e9e64d5715776cfdec7fd3
tree5095c82d330f4216a2c0076e85efc30d030cc636
parentd3dbfd9085680e2bbfc9679810dd38d5c1e673d2
BUG/MINOR: http_client: make sure to preset the proxy's default settings

Proxies must call proxy_preset_defaults() to initialize their settings
that are usually learned from defaults sections (e.g. connection retries,
pool purge delay etc). At the moment there was likely no impact, but not
doing so could cause trouble soon when using the client more extensively
or when new defaults are introduced and failed to be initialized.

No backport is needed.
src/http_client.c