From: Guus Sliepen Date: Wed, 6 Feb 2013 14:12:53 +0000 (+0100) Subject: Check for writability when waiting for a socket to finish connecting. X-Git-Tag: release-1.1pre6~9 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=053af97c9e729ab485609e4202f5195fdc8aeeb5;hp=053af97c9e729ab485609e4202f5195fdc8aeeb5;p=tinc Check for writability when waiting for a socket to finish connecting. We were checking only for readability, which is not a problem for normal connections, since the server side of a connection will always send an ID request. But when using a proxy, the proxy server doesn't send anything before the client, so tinc would not see that its connection to the proxy had already been established. ---