Wayne Davison
08b018304f
Removed section on parsing IPv6 literal addresses.
2005-03-01 03:11:28 +00:00
Wayne Davison
d19320fdf6
Changed remote_filesfrom_file to filesfrom_host.
2005-03-01 03:10:59 +00:00
Wayne Davison
860236bf90
- Changes needed to handle new filesfrom_host variable.
...
- Changes needed to use check_for_hostspec() in place of find_colon().
2005-03-01 01:16:03 +00:00
Wayne Davison
4d3abf1360
Changes needed to use check_for_hostspec() in place of find_colon().
2005-03-01 01:15:59 +00:00
Wayne Davison
305666bf59
- Changed find_colon() into check_for_hostspec(), extending it to
...
understand the rsync:://HOST:PORT/PATH format, allowing all HOSTs
to be IPv6 literal addresses enclosed in '[' and ']', and changing
it to return the 3 parts of the spec separately (host, port, and
path).
- Relocated the code that handles the sanitation and validation of
the files_from arg in order to make its placement a little more
logical.
- Replaced remote_filesfrom_file with filesfrom_host, which makes
the value of the files_from variable more intuitive.
2005-03-01 01:15:57 +00:00
Wayne Davison
b03c719f04
Enhanced the option-parsing failure mode to handle the situation
...
where the parser didn't get a chance to parse the --files-from
option yet, but we still need to know it was there in order to get
the error message back to the client.
2005-03-01 00:42:32 +00:00
Wayne Davison
62f27e3c02
Made a couple sentences about rsync:// syntax clearer.
2005-02-28 22:04:16 +00:00
Wayne Davison
4dc67d5e30
Improved a couple sentences.
2005-02-28 02:16:49 +00:00
Wayne Davison
8ebdc9724e
Say "rsync 2.6.4" instead of "protocol 29".
2005-02-28 02:16:23 +00:00
Wayne Davison
9e0582f9bf
Tweaked a comment.
2005-02-28 02:04:42 +00:00
Wayne Davison
705de51a73
Improved do_lseek()'s failure message.
2005-02-27 21:12:13 +00:00
Wayne Davison
1a8e5c97eb
Complain if the run-terminating keep-alive packets aren't what
...
we expected.
2005-02-27 20:50:07 +00:00
Wayne Davison
55bb7fff14
Don't loop forever when the receiver is waiting around to be killed
...
at EOF -- it should be a rapidly arriving event, so only hang around
for 10 seconds, max., and then go ahead and report the "unexpectedly
closed" error.
2005-02-27 18:24:34 +00:00
Wayne Davison
662bdcd4ac
Make sure that allowed_lull will not be computed as 0 if
...
io_timeout is 1.
2005-02-27 18:09:17 +00:00
Wayne Davison
fef101a548
Improved a couple sentences.
2005-02-27 18:01:32 +00:00
Wayne Davison
18a11cfd48
- Made the calls to maybe_send_keepalive() happen at better intervals.
...
- Call do_hard_links() with its new args.
2005-02-27 09:02:32 +00:00
Wayne Davison
0f80c3e886
Added 2 args to do_hard_links() so that it can call maybe_send_keepalive().
2005-02-27 09:02:29 +00:00
Wayne Davison
f122383179
Mention the backup fix for redone files with --inplace.
2005-02-27 08:02:06 +00:00
Wayne Davison
e6bc6f4232
We need to turn off make_backups for the redo phase so that
...
the inplace processing doesn't make a second backup.
2005-02-27 07:50:43 +00:00
Wayne Davison
ac1cb9380d
Tweaked an error message.
2005-02-27 07:34:27 +00:00
Wayne Davison
40df65fdb4
- Seems to me that sigusr2_handler() should call close_all() for
...
the sake of MS Windows.
- Improved some comments.
2005-02-27 07:33:01 +00:00
Wayne Davison
cb2e1f18c2
One more comment fix.
2005-02-26 22:14:40 +00:00
Wayne Davison
0ecd03e396
Fixed comment.
2005-02-26 22:02:38 +00:00
Wayne Davison
e6f5ac116b
Improved a couple sentences.
2005-02-26 21:48:12 +00:00
Wayne Davison
051182cb75
Set kluge_around_eof to a -1 for the receiver's needs.
2005-02-26 20:58:08 +00:00
Wayne Davison
574c250093
If kluge_around_eof is < 0, we go into an msleep() loop instead
...
of exiting.
2005-02-26 20:58:05 +00:00
Wayne Davison
8dad7fc6ea
Explicitly set kluge_around_eof to a 1 when it is needed.
2005-02-26 20:58:01 +00:00
Wayne Davison
b558728875
Added keep-alive checking during the directory-touching loop at
...
the end of the processing.
2005-02-26 20:43:14 +00:00
Wayne Davison
e777afad6f
Set kludge_around_eof when the receiver is trying to read a
...
potential keep-alive message that may never come.
2005-02-26 20:21:12 +00:00
Wayne Davison
87703a1b1f
Improved the comment for kludge_around_eof.
2005-02-26 20:21:08 +00:00
Wayne Davison
981b202661
Added "set -x".
2005-02-26 19:49:59 +00:00
Wayne Davison
13725744fd
Decided I like "set -x" after all.
2005-02-26 19:47:43 +00:00
Wayne Davison
363c3ece3a
Don't allow keep-alive sending if --read-batch is enabled.
2005-02-26 19:37:49 +00:00
Wayne Davison
47780ddfef
Mention the new keep-alive handling and the devices-size fix.
2005-02-26 19:17:06 +00:00
Wayne Davison
251f22b5d7
Fixed a line-ordering problem.
2005-02-26 19:11:57 +00:00
Wayne Davison
4e0fcd85ae
Handle keep-alive messages at the end of the transfer when
...
--delete-after is happening.
2005-02-26 18:57:57 +00:00
Wayne Davison
59faec8b8b
- Moved all the file-deletion code here from flist.c and receiver.c.
...
- Call maybe_send_keepalive() from delete_in_dir() so that a really
long delete-pass won't timeout.
- Renamed delete_files() -> do_delete_pass().
- Renamed delete_file() -> delete_item().
- Call get_dirlist() with its new arg.
2005-02-26 18:03:49 +00:00
Wayne Davison
32cbfe7b17
- Moved file-deletion code into generator.c.
...
- Made filesystem_dev a global that the generator can set during its
delete pass.
- Fixed an off-by-one boundary check in send_directory().
- Added an arg to get_dirlist() so that delete_in_dir() can call it
efficiently.
2005-02-26 18:03:46 +00:00
Wayne Davison
f08ca43472
Moved the delete-after support into generator.c.
2005-02-26 18:03:42 +00:00
Wayne Davison
8eb6cf784b
Moved the delete-before support into generator.c.
2005-02-26 18:03:40 +00:00
Wayne Davison
7433d73adc
- Moved the initialization of "itemizing", "maybe_PERMS_REPORT", and
...
"code" from recv_generator() to generate_files() so that they
don't get recomputed for every file (we pass them as args now).
- Allow protocols < 29 to call maybe_send_keepalive() so that we can
try to flush the output buffer if things are slow (though we can't
send a keep-alive packet without protocol_version >= 29).
2005-02-26 06:52:55 +00:00
Wayne Davison
3221f451a0
Calling maybe_send_keepalive() for protocol_version < 29 is
...
now supported, though we can only try to flush the output
buffer if we're in a lull.
2005-02-26 06:43:15 +00:00
Wayne Davison
9e4536748d
- Moved the description of '%i's output into the rsync manpage.
...
- A few minor tweaks to the "log format" setting.
2005-02-26 05:18:03 +00:00
Wayne Davison
ea67c71505
- We now mention what "%i" outputs under --itemize-changes.
...
- Improved the description of --log-format.
2005-02-26 05:16:26 +00:00
Wayne Davison
ea38b5af72
Mention the change in when --log-format outputs and how it
...
interacts with --verbose.
2005-02-26 05:11:46 +00:00
Wayne Davison
89d19eedef
Call log_delete() from delete_file() anytime that DEL_TERSE is
...
not set (we used to only call if verbose or log_format were also
set).
2005-02-26 04:50:55 +00:00
Wayne Davison
41b5b5e756
The log_delete() function may now be called even when the client is
...
not getting delete messages, which ensures that the daemon's log-
file output includes all deletions when per-file logging is enabled.
2005-02-26 04:49:30 +00:00
Wayne Davison
a3e1363aaa
Make sure that our protocol-28 compatibility is OK.
2005-02-26 03:22:05 +00:00
Wayne Davison
2217b30adf
Fixed a problem sending include rules to an older rsync.
2005-02-26 02:56:30 +00:00
Wayne Davison
9ac2395bf0
- Call maybe_send_keepalive() if timeouts are enabled.
...
- Use the new ignore_timeout variable.
2005-02-25 22:01:36 +00:00