]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: sessions: Keep track of which connections are idle.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 28 Dec 2018 17:50:57 +0000 (18:50 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Dec 2018 18:16:03 +0000 (19:16 +0100)
commita2dbeb22fcc2d2bbaaf28ed6bc4130ae3ad6d146
tree1fc6b76724d457bbf60361aba411b2f778ecbf4e
parentc685d700fd233b7ddd2737039af0cc50b94df3b5
MEDIUM: sessions: Keep track of which connections are idle.

Instead of keeping track of the number of connections we're responsible for,
keep track of the number of connections we're responsible for that we are
currently considering idling (ie that we are not using, they may be in use
by other sessions), that way we can actually reuse connections when we have
more connections than the max configured.
include/proto/connection.h
include/proto/session.h
include/types/connection.h
include/types/session.h
src/backend.c
src/session.c