]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: peers: move "hello" message treatment code to reduce the size of the I/O handler.
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 25 Jan 2019 07:30:29 +0000 (08:30 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Jan 2019 09:29:54 +0000 (10:29 +0100)
commit3f0fb9df6c8dce9b2197324347617b5880a2d5b7
tree9b3d2c8cb891f249069a0c0db767e707c870845f
parentbe825e5c05c3be646f7ed1ff9325017742e9330e
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.
src/peers.c