commit | ae787bad80cc9b775cbbcc4b8b463d689df9e938 | [log] [tgz] |
---|---|---|
author | William Lallemand <wlallemand@haproxy.org> | Thu Jul 29 15:13:22 2021 +0200 |
committer | William Lallemand <wlallemand@haproxy.org> | Thu Jul 29 15:13:22 2021 +0200 |
tree | 3b95398e6620a416e60be54909811e8712657e7d | |
parent | e7f74623e4fc7d582145b38a60c6911acc7da41d [diff] |
CLEANUP: mworker: use the proxy helper functions in mworker_cli_proxy_create() Cleanup the mworker_cli_proxy_create() function by removing the allocation and init of the proxy which is done manually, and replace it by alloc_new_proxy(). Do the same with the free_proxy() function. This patch also move the insertion at the end of the function.