Since ee63d4bd6 ("MEDIUM: stats: integrate static proxies stats in new stats"), all dumped stats for a given domain, the default ones and the modules ones, are merged in a signle array to dump them in a generic way. For this purpose, the stat_l global variable is allocated at startup to store a line of stats before the dump, i.e. all stats of an entity (frontend, backend, listener, server or dns nameserver). But this variable is not thread safe. If stats are retrieved concurrently by several clients on different threads, the same variable is used. This leads to corrupted stats output. To fix the bug, the stat_l variable is now thread local. This patch should probably solve issues #972 and #992. It must be backported to 2.3.
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%