Check for writability when waiting for a socket to finish connecting.
authorGuus Sliepen <guus@tinc-vpn.org>
Sun, 1 Sep 2013 09:43:10 +0000 (11:43 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Sun, 1 Sep 2013 09:43:10 +0000 (11:43 +0200)
commit7df18f17d159a5f410ff2f1395198a3496a80fd4
tree095787ea805c09cfe8b6bd15bd9e91d6e7b95fa5
parentba8e9c0eb5674d060226a43fef5b8504226d27b3
Check for writability when waiting for a socket to finish connecting.

This causes daemons that make an outgoing connection to immediately send the ID
message (or proxy handshake), as intended.
src/net.c