commit | 87f554c9fb7d721820352d84e7811e813c2dc655 | [log] [tgz] |
---|---|---|
author | Frédéric Lécaille <flecaille@haproxy.com> | Tue Jan 22 17:26:50 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Jan 29 10:29:54 2019 +0100 |
tree | 9b4a31b33fb52fa418908582ff8d4864611fa3bf | |
parent | ec44ea8692cb86b5bd34be05c04d0d5371ad9325 [diff] |
MINOR: peers: Add new functions to send code and reduce the I/O handler. This patch reduces the size of the peer I/O handler implementing a new function named peer_send_updatemsg() which uses the already implement peer_prepare_updatemsg(), then ci_putblk(). Reuse the code used to implement peer_send_(ack|swith)msg() function especially the more generic function peer_send_msg(). May be backported as far as 1.5.