mirror of
https://github.com/haproxy/haproxy.git
synced 2026-06-10 09:21:35 -04:00
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.
This commit is contained in:
parent
e46090f424
commit
95ee47fd32
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue