我非常感谢 rsync 到 MS-Windows 的端口,以便可以使用 Visual Studio 构建它。我随机遇到各种协议错误,有些断断续续。我正在使用 rsync 将 sw 分发到大约 200 台机器的网格,并且通常会遇到十几个故障。我正在使用 GCC 4.4.2 和最新的 cygwin 来构建 rsync v3.0.7。如果我可以尝试一个不需要 cygwin 的版本,那将对我有很大帮助。这是因为网格中的机器已经运行了另一个基于 cygwin 的应用程序,该应用程序与我的应用程序版本不同。
Having spent some time on the rsynv mailing list opinion seems to be divided as to cause of protocol errors on MS-Windows. Some say it is a bug in rsync where it failed to do a clean socket shutdown, a bug that was fixed a while ago. Others say that it is a fundamental protocol error in rsync where the client does not tell the server that it is finished, it just shuts down, causing MW-windows servers to get a RST signal on the socket, something that does not happen on Unix.