]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] convert all signals to asynchronous signals
authorWilly Tarreau <w@1wt.eu>
Sun, 10 May 2009 07:59:50 +0000 (09:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 10 May 2009 07:59:50 +0000 (09:59 +0200)
commit01b3a53f49af8c7be32b15ad978ec7c4a9e6851f
tree6f06e9a852e8df659eb3a4c36881612ea652673c
parent332740dab2396f2451faa67dd349eacee4136825
[MEDIUM] convert all signals to asynchronous signals

The small list of signals currently handled by haproxy were processed
as soon as they were received. This has caused trouble with calls to
pool_gc2() occuring in the middle of libc's memory management functions
seldom causing deadlocks preventing the old process from leaving.

Now these signals use the new async signal framework and are called
asynchronously, when there is no risk of recursion. This ensures more
reliable operation, especially for sensible processing such as memory
management.
src/haproxy.c