commit | a5797aab11e8b49567251fa4a31caf44214a1566 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Jul 18 18:40:06 2019 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Fri Jul 19 13:50:09 2019 +0200 |
tree | 896704aad172599f5a379bd90b98018dcf28e8ad | |
parent | 5a0b25d31c2bd003caec8e2abb1bdb03b4ba607e [diff] |
MEDIUM: backend: always release any existing prior connection in connect_server() When entering connect_server() we're not supposed to have a connection already, except when retrying a failed connection, which is pretty rare. Let's simplify the code by starting to unconditionally release any existing connection. For now we don't go further, as this change alone will lead to quite some simplification that'd rather be done as a separate cleanup.