commit | 3f0fb9df6c8dce9b2197324347617b5880a2d5b7 | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Fri Jan 25 08:30:29 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jan 29 10:29:54 2019 +0100 |
tree | 9b3d2c8cb891f249069a0c0db767e707c870845f | |
parent | be825e5c05c3be646f7ed1ff9325017742e9330e [diff] |
MINOR: peers: move "hello" message treatment code to reduce the size of the I/O handler. This patch implements three functions to read and parse the three line of a "hello" peer protocol message so that to call them from the peer I/O handler and reduce its size. May be backported as far as 1.5.