mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-18 11:06:35 +02:00
57c5c6db0cc67e5d1673dee108712f5e9b603409
At the moment pool_put_to_shared_cache() checks if the pool is crowded, and if so it does the exact same job as pool_free_nocache(), otherwise it adds the object there. This patch rearranges the code so that the function is split in two and either uses one path or the other, and always relies on pool_free_nocache() in case we don't want to store the object. This way there will be a common path with the variant not using the shared cache. The patch is better viewed using git show -b since a whole block got reindented. It's worth noting that there is a tiny difference now in the local cache usage measurement, as the decrement of "used" used to be performed before checking for pool_is_crowded() instead of being done after. This used to result in always one less object being kept in the cache than what was configured in minavail. The rearrangement of the code aligns it with other call places.
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
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
haproxy public development tree. Unstable code.
cachecachingddos-mitigationfastcgihaproxyhigh-availabilityhigh-performancehttphttp2httpsipv6load-balancerproxyproxy-protocolreverse-proxytls13
Readme
255 MiB
Languages
C
98%
Shell
0.9%
Makefile
0.5%
Lua
0.2%
Python
0.2%