Improve --timeout method to take into account all I/O that is going on.
authorWayne Davison <wayned@samba.org>
Sat, 19 Dec 2009 18:15:15 +0000 (10:15 -0800)
committerWayne Davison <wayned@samba.org>
Sat, 19 Dec 2009 19:00:36 +0000 (11:00 -0800)
commit92d021488ec06524f7ed6a527c39f2753f4a9fd2
tree181e28b70b8d47620557f820801b60d4c95f5f6b
parent82b2a31a46d7c94f951b96f61c9935198f0f53f1
Improve --timeout method to take into account all I/O that is going on.
The receiving side also switches timeout handling from the receiver to
the generator, which obviates the need for the sender to send any
keep-alive messages at all (for protocol 31 and beyond).  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
sender.c