]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: peers: send code factorization.
authorFrédéric Lécaille <flecaille@haproxy.com>
Tue, 22 Jan 2019 14:54:53 +0000 (15:54 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Jan 2019 09:29:54 +0000 (10:29 +0100)
commitec44ea8692cb86b5bd34be05c04d0d5371ad9325
tree0856496a5f40bbcec898c7aa2a6684200a6b244f
parenta8725ec3724f507dfcfab9702f351e6b606ba07f
MINOR: peers: send code factorization.

Implements peer_send_*msg() functions for switch and ack messages which call the
already defined peer_prepare_*msg() before calling ci_putblk().
These two new functions are used at three places in the peer_io_handler().

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