Commit Graph

6567 Commits

Author SHA1 Message Date
Andrew Tridgell
05c629f778 I think I've (finally) fixed the problem with rsync periodically
freezing when used with ssh. The problem is really the ssh use of
blocking calls. rsync has had a fix for this for a while which relies
on using non-blocking calls itself and then reading any data from the
incoming fd when trying to write, thus ensuring that the incoming fd
doesn't get full.
The problem was the the incoming fd wasn't added to the select
statement, which meant that new data arriving on the fd only got read
when the select timed out, which happens every 10 seconds. Thus things
could slow to a crawl!
The incoming fd is now in the select call, and this seems to fix the
problem.
1997-12-15 12:33:15 +00:00
Andrew Tridgell
e950ec72c4 don't use WRAP as that maybe be defined in standard includes 1997-10-30 08:13:32 +00:00
Andrew Tridgell
5b62eeed08 fix version number 1997-10-30 08:07:38 +00:00
Andrew Tridgell
e9d4e304ea send "." filenames so the other end knows that a directory was sent 1997-10-30 08:07:28 +00:00
Andrew Tridgell
10ce5fbf35 fix spelling error 1997-10-30 08:06:46 +00:00
Andrew Tridgell
773f2bd47f minor updates 1997-07-10 01:12:36 +00:00
Paul Mackerras
774ef68f00 minor bugfixes 1997-04-11 06:18:02 +00:00
Paul Mackerras
b8d4524b4f Fixed bug in receiving 32kB compressible files 1996-11-06 04:49:53 +00:00
Andrew Tridgell
ff49baad6f *** empty log message *** 1996-10-02 06:33:58 +00:00
Andrew Tridgell
1482e93af0 added info on european mirror of rsync 1996-10-02 06:33:49 +00:00
Paul Mackerras
f80621049e Fix compression bug where incompressible files weren't transmitted correctly. 1996-10-02 04:20:22 +00:00
Andrew Tridgell
24d95c034f move check for remsh after config.h 1996-10-01 12:04:47 +00:00
Andrew Tridgell
a3418f2e97 change BAD to ZBAD to avoid conflict with some systems 1996-10-01 06:44:00 +00:00
Andrew Tridgell
8bf737494f - check for sys/select.h
- check for and use lchown if possible

- fix problem with root directory on source and destination
1996-10-01 06:40:36 +00:00
Andrew Tridgell
432b0fbdc9 - added info on the mailing list 1996-10-01 04:31:34 +00:00
Andrew Tridgell
d8ba14b176 update to version 1.6 1996-10-01 04:13:03 +00:00
Andrew Tridgell
7b8356d0bc - detect presence of remsh and use it instead of rsh
- handle directory ownership and permissions much better.

- fix bug where links caused the permissions of files to be
set incorrectly

- override the default umask in setting file permissions

- better handling -o and -D being passed to non-root users

- handle rsync to a destination of /

- fix the handling of mismatched file types at either end of the
link. For example, if the destination is a link and the source is not.
1996-10-01 04:12:30 +00:00
Paul Mackerras
280cbb8537 This should fix the bug where file transfer with compression failed with
the message 'inflate returned 0 (0 bytes)'.
1996-07-15 05:38:20 +00:00
Andrew Tridgell
52296954fe add warning if corruption detected 1996-07-12 14:37:25 +00:00
Andrew Tridgell
fe4d86e446 fix serious corruption bug 1996-07-12 14:36:03 +00:00
Andrew Tridgell
a06d19e3fc *** empty log message *** 1996-07-05 04:49:32 +00:00
Andrew Tridgell
94a3ac55f6 *** empty log message *** 1996-07-04 13:56:53 +00:00
Andrew Tridgell
1b01b295c9 added CHAR_OFFSET 1996-07-04 13:08:07 +00:00
Andrew Tridgell
ebb0a6f618 *** empty log message *** 1996-07-04 10:16:56 +00:00
Andrew Tridgell
f94e821c78 *** empty log message *** 1996-07-03 08:18:11 +00:00
Andrew Tridgell
038406fdfe *** empty log message *** 1996-07-03 08:12:32 +00:00
Andrew Tridgell
d89322c446 - fixed file time bug
- doc updates
1996-07-03 06:24:34 +00:00
Paul Mackerras
5be59dc5b2 fix buglet in handling multiple files 1996-07-03 05:28:55 +00:00
Andrew Tridgell
ef21f8dbff *** empty log message *** 1996-07-03 05:22:09 +00:00
Paul Mackerras
861c20b43d Added in-stream deflate compression for file reconstruction instructions. 1996-07-03 04:05:46 +00:00
Andrew Tridgell
1cdc8b50a2 check for null unmap 1996-07-03 02:21:47 +00:00
Andrew Tridgell
b98c7b81d2 save some more bytes by making the checksum smaller 1996-07-02 06:02:36 +00:00
Andrew Tridgell
73545f2ccb added seed to file sum 1996-07-02 03:22:08 +00:00
Andrew Tridgell
9e31c4824c added resend logic
added checksum on all files
1996-07-02 03:19:58 +00:00
Andrew Tridgell
c6e7fcb42b *** empty log message *** 1996-07-01 23:27:19 +00:00
Andrew Tridgell
70d794dce9 added hooks for compression in token.c 1996-07-01 05:55:05 +00:00
Andrew Tridgell
57e877a16d get byte order of checksum seed right 1996-06-30 05:02:45 +00:00
Andrew Tridgell
d7b305fd91 new header tests for sunos 1996-06-30 04:42:04 +00:00
Andrew Tridgell
384ab60a95 *** empty log message *** 1996-06-30 04:30:43 +00:00
Andrew Tridgell
aae43eb38f added checksum seed 1996-06-30 04:29:46 +00:00
Andrew Tridgell
dc5ddbccac - hard links
- better sparse handling
- FERROR and FINFO
1996-06-30 03:57:22 +00:00
Andrew Tridgell
d5ee1f8e7a *** empty log message *** 1996-06-28 15:24:39 +00:00
Andrew Tridgell
41ba6938a4 *** empty log message *** 1996-06-28 14:43:49 +00:00
Andrew Tridgell
013cae266a *** empty log message *** 1996-06-28 14:27:04 +00:00
Andrew Tridgell
6b83141d1e fixed sighup handling 1996-06-28 14:26:15 +00:00
Andrew Tridgell
34ccb63e71 new exit/cleanup code 1996-06-28 13:55:41 +00:00
Andrew Tridgell
7bec6a5cd6 - handle no mmap for munmap
- handle sparse files
- add MAX_PROTOCOL_VERSION
1996-06-28 08:01:55 +00:00
Paul Mackerras
7f28dbee65 standard input on server may be nonblocking 1996-06-28 07:06:34 +00:00
Andrew Tridgell
43a481dc55 added csum-length option 1996-06-27 05:16:15 +00:00
Andrew Tridgell
4fe159a81d - improved filename packing
- fixed sunos EAGAIN bug
1996-06-27 04:22:19 +00:00