Update "now" after connect() when making outgoing connections.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 1 Nov 2015 20:07:56 +0000 (21:07 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 1 Nov 2015 20:11:00 +0000 (21:11 +0100)
commitafd342ec0c2db5f4f60d29dfec87249c7503a1f5
tree3c209e44f66dfdb9ed5c50bca1ffaa337ec53c3f
parent296bf09d90df0a730cd4d4fdede6819d04b33b17
Update "now" after connect() when making outgoing connections.

It could be that address resolution takes a long time, don't let that
count against a connection. This is especially important when using a
nameserver from the VPN.
src/net_socket.c