mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-20 00:10:41 -05:00
CLEANUP: mworker: PR_CAP already initialized with alloc_new_proxy()
Remove the PR_CAP initialization in mworker_cli_proxy_create() which is already done in alloc_new_proxy().
This commit is contained in:
parent
ae787bad80
commit
df9caeb9ae
1 changed files with 0 additions and 1 deletions
|
|
@ -2680,7 +2680,6 @@ int mworker_cli_proxy_create()
|
|||
goto error_proxy;
|
||||
|
||||
mworker_proxy->mode = PR_MODE_CLI;
|
||||
mworker_proxy->cap = PR_CAP_LISTEN | PR_CAP_INT; /* this is a listen section */
|
||||
mworker_proxy->maxconn = 10; /* default to 10 concurrent connections */
|
||||
mworker_proxy->timeout.client = 0; /* no timeout */
|
||||
mworker_proxy->conf.file = strdup("MASTER");
|
||||
|
|
|
|||
Loading…
Reference in a new issue