summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio/stdio.c
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2013-06-04 02:39:10 +0000
committerclaudio <claudio@openbsd.org>2013-06-04 02:39:10 +0000
commit38f2007957caa0a04fffce448cc15a5158f6baf0 (patch)
tree71963b8a6d87d68f84bb71cf15d3de1b1325d2db /lib/libc/stdio/stdio.c
parentAlways accept TCP connection requests and identify to which neighbor (diff)
downloadwireguard-openbsd-38f2007957caa0a04fffce448cc15a5158f6baf0.tar.xz
wireguard-openbsd-38f2007957caa0a04fffce448cc15a5158f6baf0.zip
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 'lib/libc/stdio/stdio.c')
0 files changed, 0 insertions, 0 deletions