MINOR: peers: move peer initializations code to reduce the size of the I/O handler.
authorFrédéric Lécaille <flecaille@haproxy.com>
Fri, 25 Jan 2019 07:58:41 +0000 (08:58 +0100)
committerWilly Tarreau <w@1wt.eu>
Tue, 29 Jan 2019 09:29:54 +0000 (10:29 +0100)
commit4b2fd9bf71fbccd39bea4f4b46824b18d5575f93
tree437b53aa5497b97d0ed68742a78c54f1ac109f2d
parent3f0fb9df6c8dce9b2197324347617b5880a2d5b7
MINOR: peers: move peer initializations code to reduce the size of the I/O handler.

Implements two new functions to init peer flags and other stuff after
having accepted or connected them with the peer I/O handler so that
to reduce its size.

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