commit | efb90f9dd3c8ac51ad41122ed8bfb3cb99f994dd | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Aug 06 11:37:10 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Thu Aug 06 11:41:06 2015 +0200 |
tree | ebd08b5e1fb1fd6776f810af42194f4af096cccc | |
parent | 8dff998b91bb45f36ef04c63ab5480b88f246e74 [diff] |
MAJOR: backend: improve the connection reuse mechanism Now instead of closing the existing connection attached to the stream interface, we first check if the one we pick was attached to another stream interface, in which case the connections are swapped if possible (eg: if the current connection is not private). That way the previous connection remains attached to an existing session and significantly increases the chances of being reused.