]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: connections: Attempt to get idle connections from other threads.
authorOlivier Houchard <ohouchard@haproxy.com>
Fri, 6 Mar 2020 17:18:56 +0000 (18:18 +0100)
committerOlivier Houchard <cognet@ci0.org>
Thu, 19 Mar 2020 21:07:33 +0000 (22:07 +0100)
commit566df309c62e53abcd17e80dc9be03c6f8d39fcb
treefd799c9367ef2b169e98d2a79eb5e1d4362b9812
parentd2489e00b040a181870338df64683b6f113cdbd2
MEDIUM: connections: Attempt to get idle connections from other threads.

In connect_server(), if we no longer have any idle connections for the
current thread, attempt to use the new "takeover" mux method to steal a
connection from another thread.
This should have no impact right now, given no mux implements it.
include/proto/connection.h
include/proto/server.h
include/types/server.h
src/backend.c