Wayne Davison
3309507dd3
Some minor changes to some if statements.
2004-01-02 08:33:57 +00:00
Wayne Davison
76c2194714
Applying my updated version of Craig Barratt's buffered I/O patch.
2004-01-02 08:29:49 +00:00
Wayne Davison
6b45fcf160
Undid previous change.
2003-12-26 23:04:01 +00:00
Wayne Davison
49c24eccd4
A change that wasn't needed.
2003-12-26 22:59:53 +00:00
Wayne Davison
55bf051bbc
Getting rid of an extra newline that accidentally crept into the code.
2003-12-24 01:46:07 +00:00
Wayne Davison
55d5937dd6
Simplified the setting of the reading_remotely variable in function
...
read_filesfrom_line() now that remote_filesfrom_file is set more
often.
2003-12-15 00:54:44 +00:00
Wayne Davison
58cadc8608
Merged in the security fixes from 2.5.7.
2003-12-06 21:07:27 +00:00
Wayne Davison
3151cbae89
Some superficial tweaks I made while reading through the io.c code.
2003-07-26 17:55:07 +00:00
Wayne Davison
8801138b47
Made rprintf() of size_t value portable.
2003-07-04 15:11:44 +00:00
J.W. Schultz
91c4da3fda
versions prior to 1.7.0 (protcol version 17) cannot talk to
...
protocol versions > 20 so bumping up the minimum protocol
version and excising the pre-17 cruft.
2003-04-10 00:13:48 +00:00
Wayne Davison
56014c8c0a
Support the new --files-from and --from0 options.
2003-03-30 23:00:35 +00:00
J.W. Schultz
67863f46e3
Warn if 64bit value sent or received on system that doesn't
...
support 64bit integers.
2003-03-25 07:13:40 +00:00
Martin Pool
c979dad54a
Fix old typo.
2002-04-11 02:11:50 +00:00
Martin Pool
a86179f429
Fix type error.
2002-04-09 05:32:52 +00:00
Martin Pool
805edf9d7d
A bit more support for IO phase names.
2002-04-09 05:00:03 +00:00
Martin Pool
eca2adb4b3
OK, we can now get phase messages if we fail in send_file_entry
2002-04-09 04:50:25 +00:00
Martin Pool
98b332edea
Fix typo.
...
Show io phase name in error message.
2002-04-09 04:41:03 +00:00
Martin Pool
e681e82066
Rather than a loop subtracting 1e6 to convert usecs to secs/usecs, just
...
use div/mod.
2002-04-09 04:33:32 +00:00
Martin Pool
08571358b1
Factor out bwlimit sleep code from writefd_unbuffered into its own function.
2002-04-09 04:29:46 +00:00
Martin Pool
8901a07fdb
Clarify "error writing %d bytes" message.
2002-04-09 04:23:18 +00:00
Martin Pool
880da0072e
Clean up docs.
2002-04-09 04:20:36 +00:00
Martin Pool
914cc65c9d
Doc.
2002-03-22 05:14:44 +00:00
Martin Pool
3ce0f9a653
Clean up error message
2002-02-19 01:41:20 +00:00
Martin Pool
befbfe6115
Fix for rsync server processes hanging around after the client
...
unexpectedly disconnects. (Colin Walters) (Debian bug #128632 )
2002-02-18 19:54:00 +00:00
Martin Pool
87ee248169
Document multiplex stuff.
2002-02-18 19:44:04 +00:00
Martin Pool
7b5c3eb05e
io_end_buffering doesn't need (or use) it's fd parameter: there's only
...
one multiplexed stream.
2002-01-25 23:01:50 +00:00
Martin Pool
06ce139fcc
Fix more ints that ought to be size_t's.
2002-01-23 07:48:35 +00:00
Martin Pool
6fe25398d6
Fix another int that ought to be a size_t.
2002-01-23 07:36:23 +00:00
Martin Pool
909ce14fc4
indent -kr -i8
2002-01-23 07:34:26 +00:00
Martin Pool
9dd891bb28
Signedness security patch from Sebastian Krahmer <krahmer@suse.de> --
...
in some cases we were not sufficiently careful about reading integers
from the network.
Also, make sure log messages are always nul-terminated.
2002-01-23 04:57:18 +00:00
Andrew Tridgell
a57873b710
fixed check for timeout in generator
...
the generator can easily make no progress for a long time, so don't do
timeout processing checks
2001-09-09 04:42:09 +00:00
Martin Pool
7a55d06e0d
Allow the server to terminate the module list by just closing the
...
socket, rather than sending a proper EXIT command. Keep the
global-variable hack to do this, but try to make it only apply in the
specific case where that occurs, not on all lines we read.
2001-08-22 04:15:50 +00:00
Andrew Tridgell
8950ac03f8
imported new snprintf.c from samba, got rid of slprintf
2001-05-07 06:59:37 +00:00
Andrew Tridgell
81c99202d3
use %.0f instead of %ld
2001-04-13 12:25:19 +00:00
Andrew Tridgell
ff81e809f4
new error handling system
...
we now give a non-0 exit code if *any* of the files we have been asked
to transfer fail to transfer
2001-03-22 07:36:51 +00:00
Andrew Tridgell
90ba34e27c
I came up with a new way of avoiding the error handling lockup bug in
...
rsync. It isn't pretty, but it does work and should completely avoid
that class of lockup.
2001-03-21 13:12:44 +00:00
Martin Pool
8886f8d0e6
Add comments.
...
Better error message in the case of eof on read_timeout.
2001-02-22 13:02:39 +00:00
Martin Pool
ce6c7c6318
Improved error message.
2001-01-08 03:39:53 +00:00
Martin Pool
c3563c46ed
Doc.
2000-11-15 03:16:06 +00:00
Martin Pool
7a24c346b0
Print a warning message in the version if the platform cannot support 32-bit ints
2000-11-09 09:05:14 +00:00
Martin Pool
0ba481368c
Add some comments.
2000-11-02 11:37:34 +00:00
Andrew Tridgell
e92ee12893
make sure we don't chew too much CPU when the outgoing fd is full
2000-08-29 05:07:08 +00:00
Andrew Tridgell
ae682c3e11
got rid of some unused variables
2000-08-19 15:25:05 +00:00
David Dykstra
ef5d23ebcd
Add --bwlimit option contributed by Matthew Demicco and Jamie Gritton.
2000-06-06 21:13:05 +00:00
Andrew Tridgell
0adb99b9dc
don't pprint the IO timeout message if we are a server or daemon (can
...
cause recursive error messages)
2000-04-09 02:32:18 +00:00
Andrew Tridgell
f0359dd00d
went back to non-blokcing IO
...
it looks like ssh is willing to accept a non-blocking fd when used as
a transport, this seems to avoid the Solaris socketpair bug
2000-03-30 14:15:00 +00:00
Andrew Tridgell
8b35435f7c
another hang-at-end fix. It looks like we are more sensiitive to
...
these with socketpairs. The receiver now sleeps until it gets a signal
to tell it to exit
also fixed test.sh to use the current version remotely
2000-01-30 00:50:19 +00:00
Andrew Tridgell
6d7b6081ac
damn!
...
the last pre-release had a bug that didn't setup the multiplexing
correctly. This means that pre-release will get "unexpected tag -7"
whenm talking to the fixed code.
2000-01-29 04:50:01 +00:00
Andrew Tridgell
b2999e457f
don't need PIPE_BUF any more
2000-01-29 02:56:36 +00:00
Andrew Tridgell
0f3203c312
fixed some logcode warnings
2000-01-29 02:49:03 +00:00