]> git.ipfire.org Git - thirdparty/haproxy.git/commit
CLEANUP: proxy: mention that px->conn_retries isn't relevant in some cases
authorAurelien DARRAGON <adarragon@haproxy.com>
Mon, 28 Apr 2025 14:52:33 +0000 (16:52 +0200)
committerAurelien DARRAGON <adarragon@haproxy.com>
Tue, 29 Apr 2025 19:21:19 +0000 (21:21 +0200)
commitbd48e26a747016acfddce2929443f84fdb9e6997
tree804ca901389614d7c5a06cabd1168505dbadd9fb
parent5288b39011b2449bfa896f7932c7702b5a85ee77
CLEANUP: proxy: mention that px->conn_retries isn't relevant in some cases

Since 91e785edc ("MINOR: stream: Rely on a per-stream max connection
retries value"), px->conn_retries may be ignored in the following cases:

 * proxy not part of a list which gets properly post-init (ie: main proxy
   list, log-forward list, sink list)
 * proxy lacking the CAP_FE capability

Documenting such cases where the px->conn_retries is set but effectively
ignored, so that we either remove ignored statements or fix them in
the future if they are really needed. In fact all cases affected here are
automomous applets that already handle the retries themselves so the fact
that 91e785edc made ->conn_retries ineffective should not be a big deal
anyway.
src/peers.c
src/resolvers.c
src/sink.c