commit | d27b09400c2672653b40dd534febfafe7ea87c52 | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Wed Jan 23 17:31:37 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jan 29 10:29:54 2019 +0100 |
tree | 2e577696b5a9198e52739aa31dc3e38e64a5b53a | |
parent | 168a34b45f9a49c22cc65e75a05c0c7238b0b0b1 [diff] |
MINOR: peers: Move ack, switch and definition receive code to reduce the size of the I/O handler. Implement three new functions to treat peer acks, switch and definition messages extracting the code from the big swich-case of the peer I/O handler to give more chances to this latter to be readable. May be backported as far as 1.5.