connection lost during the transfer
wayned at samba.org
Fri Jul 12 15:58:38 MDT 2013
On Mon, Jul 1, 2013 at 4:23 AM, garvit sharma <garvits45 at gmail.com> wrote:
> please tell me for what time will rsync wait if the connection breaks
> during the file transfer ??
Rsync shouldn't wait any amount of time on a connection break, but it only
notices if it does a read or write on the pipe/socket and gets a failure.
If, for instance, it's still connected to your remote shell process via a
pipe (perhaps that process hasn't failed yet?) then rsync will wait around
for that pipe to close down before it would get an error. The --timeout
option just puts a limit on how long rsync will wait around with nothing
happening on the socket.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rsync