]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MAJOR: sessions: Use an unlimited number of servers for the conn list.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 27 Dec 2018 16:20:54 +0000 (17:20 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 28 Dec 2018 15:33:13 +0000 (16:33 +0100)
commit351411facdb38ca0ae32afd6ad62da35ae79d511
treeaf8aa4e3f0256957df0c1c3c9c683c77bdbab28d
parent5f7de56a08701f05967af98fc9b0b40ed2017b14
BUG/MAJOR: sessions: Use an unlimited number of servers for the conn list.

When a session adds a connection to its connection list, we used to remove
connections for an another server if there were not enough room for our
server. This can't work, because those lists are now the list of connections
we're responsible for, not just the idle connections.
To fix this, allow for an unlimited number of servers, instead of using
an array, we're now using a linked list.
include/proto/connection.h
include/proto/session.h
include/types/session.h
src/backend.c
src/mux_h1.c
src/mux_h2.c
src/proto_http.c
src/session.c