Would it be posiable to add a "keep alive" option to rsync. The problem I am having is that the connection is dropped while rsync is scanning the local directory. If "null" packets are send to the server every 60 seconds or so, the connection will stay up and the sync will work.
Note that in the new version, this too-long receiver-side scan can be avoided by using --delete-during (--del). However, I'm still considering adding a "keep alive" message.
I just finished checking in some changes that moved all the delete-handling code into the generator so that the new keep-alive packet that I recently added for the during-the-transfer timeout protection can be used in the deletion scanning (which it now is).