mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-01-02 10:12:03 +00:00
haproxy public development tree
d0c0ca2720
Compiling HAProxy with USE_LUA=1 and running a configuration check within valgrind with a very simple configuration such as: listen foo bind *:8080 Will report quite a few possible leaks afterwards: ==24048== LEAK SUMMARY: ==24048== definitely lost: 0 bytes in 0 blocks ==24048== indirectly lost: 0 bytes in 0 blocks ==24048== possibly lost: 95,513 bytes in 1,209 blocks ==24048== still reachable: 329,960 bytes in 71 blocks ==24048== suppressed: 0 bytes in 0 blocks Printing these possible leaks shows that all of them are caused by Lua. Luckily Lua makes it *very* easy to free all used memory, so let's do this on shutdown. Afterwards this patch is applied the output looks much better: ==24199== LEAK SUMMARY: ==24199== definitely lost: 0 bytes in 0 blocks ==24199== indirectly lost: 0 bytes in 0 blocks ==24199== possibly lost: 0 bytes in 0 blocks ==24199== still reachable: 329,960 bytes in 71 blocks ==24199== suppressed: 0 bytes in 0 blocks |
||
---|---|---|
.github | ||
contrib | ||
doc | ||
examples | ||
include | ||
reg-tests | ||
scripts | ||
src | ||
tests | ||
.cirrus.yml | ||
.gitignore | ||
.travis.yml | ||
BRANCHES | ||
CHANGELOG | ||
CONTRIBUTING | ||
INSTALL | ||
LICENSE | ||
MAINTAINERS | ||
Makefile | ||
README | ||
ROADMAP | ||
SUBVERS | ||
VERDATE | ||
VERSION |
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)