<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Nov 8, 2013 at 6:47 AM, Dan McGee <span dir="ltr"><<a href="mailto:dan@archlinux.org" target="_blank">dan@archlinux.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<div dir="ltr"><div><div>$ strace -f rsync --contimeout=10 --timeout=10 rsync://<a href="http://mirror.aarnet.edu.au/archlinux/lastsync" target="_blank">mirror.aarnet.edu.au/archlinux/lastsync</a> /tmp/hanging-lastsync<br>

</div></div><div><div>[...]<br>

write(3, "@RSYNCD: 31.0\n", 14)         = 14<br>read(3, ^CProcess 30534 detached<br></div></div></div></blockquote><div><br></div><div>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.</div>

<br clear="all"><div>..wayne..</div></div></div></div>