The LIST_ADDQ() and LIST_DEL_INIT() calls made to attach/detach a waiter to the ring were made under a read lock which was sufficient in front of the writer's write lock. But it's not sufficient against other readers! Thus theorically multiple "show events" on the same ring buffer on the CLI could result in a crash, even though for now I couldn't manage to reproduce it. This fixes commit 1d181e489c ("MEDIUM: ring: implement a wait mode for watchers") so it must be backported to 2.1, possibly further if the ring code gets backported.
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%