MINOR: connection: create conn_get_best_mux_entry()
authorWilly Tarreau <w@1wt.eu>
Sun, 2 Dec 2018 12:04:43 +0000 (13:04 +0100)
committerWilly Tarreau <w@1wt.eu>
Sun, 2 Dec 2018 12:12:16 +0000 (13:12 +0100)
commit5fc311c00198accbd60ab5e988d379034998205f
tree105f27ea7bb8720a114e5dc9392fb9ad44b8cc82
parenta004ae3e668527afa18ef3dd00a643a96e730a88
MINOR: connection: create conn_get_best_mux_entry()

We currently have conn_get_best_mux() to return the best mux for a
given protocol name, side and proxy mode. But we need the mux entry
as well in order to fix the bind_conf and servers at the end of the
config parsing. Let's split the function in two parts. It's worth
noting that the <conn> argument is never used anymore so this part
is eligible to some cleanup.
include/proto/connection.h