Improve --timeout method to take into account all socket I/O that is
authorWayne Davison <wayned@samba.org>
Sat, 19 Dec 2009 21:38:25 +0000 (13:38 -0800)
committerWayne Davison <wayned@samba.org>
Sat, 19 Dec 2009 21:39:49 +0000 (13:39 -0800)
commitd94b958400f3b0737df489caa3c536f6d7d97393
tree280505edecfdbad19531639da67de31855e38f5f
parent79731940bba278082806578b7f4778961c100361
Improve --timeout method to take into account all socket I/O that is
going on.  The receiving side also switches timeout handling from the
receiver to the generator.  Given this setup, all keep-alive messages
are now sent as empty MSG_DATA messages, with MSG_NOOP messages only
being understood and (when necessary) acted upon to forward a keep-alive
event to an older receiver.  This is both safer and more compatible with
older versions.
generator.c
io.c
main.c
rsync.c
rsync.h