]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MINOR] Add active connection list to server
authorSimon Horman <horms@verge.net.au>
Tue, 21 Jun 2011 05:34:57 +0000 (14:34 +0900)
committerWilly Tarreau <w@1wt.eu>
Tue, 21 Jun 2011 20:00:12 +0000 (22:00 +0200)
commitaf5149539739ca64070a4ebe636a2f26a72dd528
tree511975cbd823951fe65407ba117534ddb1942aac
parentdec5be4ed45d52f789805e54d6ada5fd9aba2427
[MINOR] Add active connection list to server

The motivation for this is to allow iteration of all the connections
of a server without the expense of iterating over the global list
of connections.

The first use of this will be to implement an option to close connections
associated with a server when is is marked as being down or in maintenance
mode.
include/proto/session.h
include/types/server.h
include/types/session.h
src/cfgparse.c
src/peers.c
src/proto_http.c
src/queue.c
src/session.c