commit | ba4fff5fd2955553467d50ef5db704d7463d9a3d | [log] [tgz] |
---|---|---|
author | Olivier Houchard <cognet@ci0.org> | Sat Dec 01 14:40:40 2018 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Dec 01 15:45:30 2018 +0100 |
tree | b21d8e01e33ebd8bc6324f474d541c8213c2bdff | |
parent | 985f139aa23f937c94efcdeaf924c80edfade4df [diff] |
MEDIUM: server: Be smarter about deciding to reuse the last server. Instead of parsing all the available connections owned by the session each time we choose a server, even if prefer-last-server is not set, just do it if prefer-last-server is used, and check if the server is usable, before checking the connections.