<br><font size=2 face="sans-serif">The machines to which I distribute have
changed and the new machines have the older version of rsync, 2.6.6. The
problems have gone away. This makes me wonder if it is something that was
introduced after 2.6.6.......</font>
<br>
<br><font size=2 face="sans-serif">Regards,<br>
<br>
Andrew Marlow<br>
</font>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=33%><font size=4 face="helv"><b>Internet &nbsp;</b></font>
<br><font size=1 face="sans-serif"><b>jamie@shareable.org</b></font>
<p><font size=1 face="sans-serif">02/06/2010 13:55</font>
<td width=66%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td><font size=1 face="sans-serif">Andrew MARLOW</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td><font size=1 face="sans-serif">rsync@lists.samba.org</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td><font size=1 face="sans-serif">Re: rsync 3.0.7 network errors on MS-Windows</font>
<tr valign=top>
<td>
<td></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>andrew.marlow@uk.bnpparibas.com wrote:<br>
&gt; <br>
&gt; &nbsp; &nbsp;I am experiencing intermittent network failures on rsync
3.0.7 built<br>
&gt; &nbsp; &nbsp;using cygwin for Windows-XP (SP2). I am using GCC v4.4.2
and the<br>
&gt; &nbsp; &nbsp;latext version of cygwin.<br>
&gt; &nbsp; &nbsp;The rsync error long indicates things like:<br>
&gt; &nbsp; &nbsp;rsync: writefd_unbuffered failed to write 4092 bytes
to socket<br>
&gt; &nbsp; &nbsp;[generator]:<br>
&gt; &nbsp; &nbsp;Connection reset by peer (104)rsync: read error: Connection
reset by<br>
&gt; &nbsp; &nbsp;peer (104)<br>
&gt; &nbsp; &nbsp;rsync error: error in rsync protocol data stream (code
12) at<br>
&gt; &nbsp; &nbsp;io.c(1530) [generator=3.0.7]<br>
&gt; &nbsp; &nbsp;rsync error: error in rsync protocol data stream (code
12) at<br>
&gt; &nbsp; &nbsp;io.c(760) [receiver=3.0.7]</tt></font>
<br><font size=2><tt><br>
&gt; &nbsp; &nbsp;Googling I see that these problems were put down to the
way socket are<br>
&gt; &nbsp; &nbsp;cleaned up in Windows and a fix put in place in cleanup.c,
in<br>
&gt; &nbsp; &nbsp;close_all(). But the fix is surrounded by conditional
compilation:-<br>
&gt; &nbsp; &nbsp;#ifdef SHUTDOWN_ALL_SOCKETS<br>
&gt; &nbsp; &nbsp; &nbsp; :<br>
&gt; &nbsp; &nbsp; &nbsp; :<br>
&gt; &nbsp; &nbsp;#endif<br>
&gt; &nbsp; &nbsp;Can someone please explain why that is? Shouldn't the
fix just be<br>
&gt; &nbsp; &nbsp;there always, and regardless of which operating system?<br>
<br>
<br>
<br>
<br>
 &nbsp; </tt></font>
<br><pre>
___________________________________________________________
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorised copying, disclosure or distribution of the material in this e-mail is prohibited.

Please refer to http://www.bnpparibas.co.uk/en/information/legal_information.asp?Code=ECAS-845C5H  for additional disclosures.
</pre>