]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: httpclient: allow to configure the retries
authorWilliam Lallemand <wlallemand@haproxy.org>
Tue, 5 Sep 2023 13:55:04 +0000 (15:55 +0200)
committerWilliam Lallemand <wlallemand@haproxy.org>
Tue, 5 Sep 2023 13:55:04 +0000 (15:55 +0200)
commitc52948bd2cad65cdee62744d315686cfa317125f
tree8550fe1593c070a241bd09c42e712618eb490972
parentfcb080d8f936f037e6f35960cc0ce3281c8bbc76
MINOR: httpclient: allow to configure the retries

When using the httpclient, one could be bothered with it returning after
a very long time when failing. By default the httpclient has a retries
of 3 and a timeout connect of 5s, which can results in pause of 20s
upon failure.

This patch allows the user to configure the retries of the httpclient so
it could reduce the time to return an error.

This patch helps fixing part of the issue #2269.

Could be backported in 2.7 if needed.
doc/configuration.txt
src/http_client.c