| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes bug 8423.
|
|
|
|
| |
Fixes bug 7765.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- The receiver now sends keep-alive messages to the generator
when it is actively doing work and hasn't sent anything
recently. This ensures that the generator won't timeout
if the receiver is working hard.
- The perform_io() code has improved keep-alive participation.
- Allow the sender to send some keep-alive messages, which
ensures that if it is in a lull, it can probe the socket.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
and no one is reading (i.e. do advantageous reading in perform_io()).
|
|
|
|
| |
Added some debug output for MSG_ERROR_EXIT messages.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Files-from data is now sent as multiplexed I/O so that it can mingle
with any messages (such as debug output). Requires protocol 31.
Protocol 31 no longer disables output verbosity in a couple instances
that used to cause protocol issues.
Got rid of MSG_* messages that have implied raw data that follows after
them. We instead send a negative index value as a part of the raw data
stream, which is guaranteed to be output together with the following
data. This only affects the (in-progress) protocol 31 and the (self-
contained) communication stream from the receiver to the generator.
Added --debug=IO and improved --debug=FLIST. Some --debug=IO output
requires --msgs2stderr to be used to see it (i.e. sending a message
about sending a message would send another message, ad infinitum).
|
|
|
|
|
| |
Use simpler multiplexed-out stopping method.
Make sure we can't false-match a socket fd.
|
|
|
|
| |
for the data that goes from the receiver to the generator.
|
| |
|
| |
|
|
|
|
| |
dir.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Changed get_backup_name() to verify the backup path, and make any
missing directories. This avoids accidental use of a symlink as a dir
in a backup path, and gets rid of any other non-dirs that are in the
way. It also avoids the need for various operations to retry after
calling make_bak_dir(), simplifying several pices of code.
- Changed create_directory_path() to make_path(), giving it flags that
lets the caller decide if it should skip a leading slash or drop the
trailing filename.
- Mention when we create the backup directory, so the user is not caught
unaware when rsync uses a directory they didn't expect.
- Got rid of some dir-moving backup code that is not used.
- Added a little more backup-debug output.
|
|
|
|
|
|
| |
This avoids a problem where an extra message from the sender
could give the generator time to start sending data that will
not be understood by the sender's use of read_msg_fd().
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- Mention how many files were created (protocol >= 29).
- Mention how many files were deleted (new in protocol 31).
- Follow the file-count, created-count, and deleted-count
with a break-out list of each count by type.
|
| |
|
| |
|
|
|
|
|
| |
Also improved the human-readable output functions, including
adding the ability to output negative numbers.
|
|
|
|
|
| |
I/O error for the incremental directory that generated the error. The
PROTOCOL_VERSION was bumped to 31 to implement this.
|
|
|
|
|
| |
code will not delete in a directory prior to receiving an I/O error
for that directory (or not receiving it, as the case may be).
|
| |
|
|
|
|
| |
can do more checking for us.
|
|
|
|
|
| |
messages to be seen in a situation where rsync is dying (as long
as stderr is a viable output method for the remote rsync).
|
| |
|
|
|
|
| |
be used in place of all %.0f output idioms.
|
|
|
|
| |
fine-grained output control (in addition to the coarse -v).
|
|
|
|
| |
dot dir.
|
|
|
|
| |
a destination directory with a trailing slash.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Renamed push_dir() to change_dir() and revised it a little so that it
can chdir() to a relative path without an intervening chdir() back to
the staring path.
- Renamed push_pathname() to change_pathname() and revised it to take
different args and to only call path_is_daemon_excluded() on a new
path (not a revisit of a file's already-checked path).
- Fixed change_pathname() to set the right pathname value when a chdir()
call fails.
- Set orig_dir once outside of the change_pathname() function.
- Got rid of pop_dir().
|