rsync 3.0.7 network errors on MS-Windows
andrew.marlow at uk.bnpparibas.com
andrew.marlow at uk.bnpparibas.com
Wed Jun 2 02:40:52 MDT 2010
I am experiencing intermittent network failures on rsync 3.0.7 built using
cygwin for Windows-XP (SP2). I am using GCC v4.4.2 and the latext version
of cygwin.
The rsync error long indicates things like:
rsync: writefd_unbuffered failed to write 4092 bytes to socket
[generator]:
Connection reset by peer (104)rsync: read error: Connection reset by peer
(104)
rsync error: error in rsync protocol data stream (code 12) at io.c(1530)
[generator=3.0.7]
rsync error: error in rsync protocol data stream (code 12) at io.c(760)
[receiver=3.0.7]
Googling I see that these problems were put down to the way socket are
cleaned up in Windows and a fix put in place in cleanup.c, in close_all().
But the fix is surrounded by conditional compilation:-
#ifdef SHUTDOWN_ALL_SOCKETS
:
:
#endif
Can someone please explain why that is? Shouldn't the fix just be there
always, and regardless of which operating system?
Regards,
Andrew Marlow
___________________________________________________________
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20100602/7c593150/attachment.html>
More information about the rsync
mailing list