From: Christopher Faulet Date: Mon, 4 May 2026 06:29:21 +0000 (+0200) Subject: CLEANUP: resolvers: Remove duplicated line when resolvers proxy is initialized X-Git-Tag: v3.4-dev11~64 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=95ee47fd32c55291d164b8ce231fff157735582f;p=haproxy.git CLEANUP: resolvers: Remove duplicated line when resolvers proxy is initialized In resolvers_setup_proxy(), "px->conn_retries" was initialized twice. Let's remove the line with no comment. --- diff --git a/src/resolvers.c b/src/resolvers.c index c4bdf39bd..a151f6034 100644 --- a/src/resolvers.c +++ b/src/resolvers.c @@ -3417,7 +3417,6 @@ int check_action_do_resolve(struct act_rule *rule, struct proxy *px, char **err) void resolvers_setup_proxy(struct proxy *px) { px->maxconn = 0; - px->conn_retries = 1; px->conn_retries = 1; /* FIXME ignored since 91e785ed * ("MINOR: stream: Rely on a per-stream max connection retries value") * If this is really expected this should be set on the stream directly