On Thu, May 10, 2007 at 09:28:36PM +0200, [EMAIL PROTECTED] wrote:

> When tinc is compiled with MingW, sockets are not made non-blocking
> because O_NONBLOCK is not defined anywhere.
> 
> This leads to weird timeouts when one or more hosts part of a VPN are
> unreachable, because tinc hangs in connect() (and possibly other
> places as well).
> 
> This guy is probably experiencing this bug:
> http://brouwer.uvt.nl/pipermail/tinc/2007-April/001646.html
> 
> I've attached a patch that adds some win32-specific code to make
> sockets non-blocking. I've been using it for a couple of hours, and
> have experienced no problems so far.

Thank you for providing a fix for this issue! I committed the patch to
the Subversion repository. I'll try to release a new version of tinc
with this fix next weekend.

-- 
Met vriendelijke groet / with kind regards,
     Guus Sliepen <[EMAIL PROTECTED]>

Attachment: signature.asc
Description: Digital signature

_______________________________________________
tinc mailing list
[email protected]
http://brouwer.uvt.nl/cgi-bin/mailman/listinfo/tinc

Reply via email to