On Fri, Nov 8, 2013 at 6:47 AM, Dan McGee <[email protected]> wrote:

> $ strace -f rsync --contimeout=10 --timeout=10 rsync://
> mirror.aarnet.edu.au/archlinux/lastsync /tmp/hanging-lastsync
> [...]
> write(3, "@RSYNCD: 31.0\n", 14)         = 14
> read(3, ^CProcess 30534 detached
>

It turns out that the code that is trying to read the server's @RSYNCD line
is now doing a read on a blocking socket instead of doing a select first.
 After fixing that, I discovered that the (before normal protocol)
line-reading code was not timing out correctly, so I fixed that too.  The
latest git version has this fixed.

..wayne..
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to