]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] support a global jobs counter
authorWilly Tarreau <w@1wt.eu>
Tue, 31 Aug 2010 13:39:26 +0000 (15:39 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Aug 2010 13:39:26 +0000 (15:39 +0200)
commitaf7ad00a9953e9488c1765b42571af2945097b9b
tree768138723d0ccc0cdfde0ede481f7966d3ea2968
parent0f7f51fbe0da5b6bd38d6a392280af4a5ff80fa0
[MINOR] support a global jobs counter

This counter is incremented for each incoming connection and each active
listener, and is used to prevent haproxy from stopping upon SIGUSR1. It
will thus be possible for some tasks in increment this counter in order
to prevent haproxy from dying until they have completed their job.
include/types/global.h
src/cfgparse.c
src/haproxy.c
src/proxy.c
src/session.c
src/stream_sock.c