Aurelien DARRAGON
1412d31a6d
MINOR: mworker: remove unused legacy code in mworker_cleanlisteners
This cleanup is a follow up of "CLEANUP: peers: unused code path in process_peer_sync" There are some remnants of 1.6 peers specific code in mworker_cleanlisteners() that was introduced with this patch serie: f83d3fe00a MEDIUM: init: stop any peers section not bound to the correct process 47c8c029db MEDIUM: init: completely deallocate unused peers Back then, nbthread did not exist, nbproc was used instead. Updating some comments to make them more relevant to current haproxy design. (multithreaded single process) Moreover, in 47c8c029db, task_free() was performed on peers_fe->task. But by looking at the code, from 1.6 til now, peers_fe->task is never used for peers proxies, it is only used for main proxies (referenced in proxies_list). Removing this extra task cleanup because it is misleading.
The HAProxy documentation has been split into a number of different files for ease of use. Please refer to the following files depending on what you're looking for : - INSTALL for instructions on how to build and install HAProxy - BRANCHES to understand the project's life cycle and what version to use - LICENSE for the project's license - CONTRIBUTING for the process to follow to submit contributions The more detailed documentation is located into the doc/ directory : - doc/intro.txt for a quick introduction on HAProxy - doc/configuration.txt for the configuration's reference manual - doc/lua.txt for the Lua's reference manual - doc/SPOE.txt for how to use the SPOE engine - doc/network-namespaces.txt for how to use network namespaces under Linux - doc/management.txt for the management guide - doc/regression-testing.txt for how to use the regression testing suite - doc/peers.txt for the peers protocol reference - doc/coding-style.txt for how to adopt HAProxy's coding style - doc/internals for developer-specific documentation (not all up to date)
Description
Languages
Shell
100%