]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: peers: move messages treatment code to reduce the size of the I/O handler.
authorFrédéric Lécaille <flecaille@haproxy.com>
Thu, 24 Jan 2019 14:40:11 +0000 (15:40 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Jan 2019 09:29:54 +0000 (10:29 +0100)
commit444243c62cf54e88ac3d6a9ece41e15f9d859ef1
tree98ff201ebc215b7dab2f8b9feb85e6b109c3f1f2
parent7d0ceeec8032d5911b475ffbe791885ab17a6d5f
MINOR: peers: move messages treatment code to reduce the size of the I/O handler.

Extract the code of the peer I/O handler responsible of treating
any peer protocol message to create peer_treat_awaited_msg() function.
Also rename peer_recv_updatemsg() to peer_treat_updatemsg() as this
function only parse a stick-table update message already received
by peer_recv_msg().

May be backported as far as 1.5.
src/peers.c