diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2013-06-04 02:39:11 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2013-06-04 02:39:11 +0000 |
commit | 1afa7269daa41211bb8ff6ba19d458b8c134cdf9 (patch) | |
tree | 8c35f246921667b47f0ebb100f6ecef35b0874cf /usr.sbin/ldpd/lde_lib.c | |
parent | 58e79569174ae7812da7dbfc19b71709322a4c20 (diff) |
Speed-up the session establishment process
* Send an extra Hello message before attempting to connect to a remote
peer to guarantee that it formed an adjacency with us as well;
* Don't wait for the first timeout to send the first Hello message.
Both tricks together will allow for fast session establish since with both
optimizations passive role neighbors can open the connection immediatly by
sending and receiving the hellos at the same time as the TCP session.
From Renato Westphal
Diffstat (limited to 'usr.sbin/ldpd/lde_lib.c')
0 files changed, 0 insertions, 0 deletions