]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MEDIUM: sessions: Don't keep an extra idle connection in sessions.
authorOlivier Houchard <ohouchard@haproxy.com>
Thu, 4 Jul 2019 12:26:41 +0000 (14:26 +0200)
committerOlivier Houchard <cognet@ci0.org>
Thu, 4 Jul 2019 12:28:18 +0000 (14:28 +0200)
commitcee03890889f242945e0c0128e57f01acf40a35c
treef80b382821f4e35a1fe721df0b107517a68fa192
parent8d82db70a5f32427fb592a947d2a612bcb01d95e
BUG/MEDIUM: sessions: Don't keep an extra idle connection in sessions.

When deciding if we keep an idle connection in the session, check if
the number of connections currently in the session is >= the max allowed,
not >, or we'll keep an extra connection.

This should be backported to 1.9 and 2.0.
include/proto/session.h