Commit Graph

20 Commits

Author SHA1 Message Date
David Dykstra
63f0774f75 Back out change that treated "refuse options = compress" the same as
"dont compress = *", by request of Tridge.  Instead, mention the difference
in the man page.  Also, put in a shortcut in set_compression() to recognize
"*" earlier instead of going through malloc/strtok/fnmatch/free cycle.
1998-11-25 15:37:50 +00:00
David Dykstra
d47741cac6 When "refuse options = compress" is set in rsyncd.conf, silently send files
at compression level 0 instead of printing an error and exitting.  This is
the same effect as "dont compress = *".
1998-11-24 22:03:16 +00:00
Andrew Tridgell
83fff1aa60 added "dont compress" option with the default setting of
*.gz *.tgz *.zip *.z *.rpm *.deb
1998-11-20 22:26:29 +00:00
Andrew Tridgell
654175798b patch from Alberto Accomazzi <aaccomazzi@cfa.harvard.edu> to add
different exit codes for different conditions.
1998-11-03 07:08:27 +00:00
Andrew Tridgell
6e4fb64e61 added finddead target, removed dead code and made some functions
static
1998-09-09 05:57:34 +00:00
Paul Mackerras
5914bf15d2 Update to use the new zlib-1.1.2 code.
The compressed token code now handles the null (-2)
token from the match logic.
1998-05-22 06:58:52 +00:00
Andrew Tridgell
45f133b976 this fixes two problems:
1) handle 64 bit file offsets in the token code. I wonder how large
bit files worked up till now?

2) send a null token when we have passed over a large lump of data
without finding a token match. This reduces the number of IOs
considerably as it removes the need for seeks/reads on the checksum
calculation and literal send code. This is not enabled yet for the
compressed case as the deflate token code can't handle it yet.
1998-05-22 01:53:02 +00:00
Andrew Tridgell
c5eb365011 formatting changes. committed separately so they don't mask the coming
token changes.
1998-05-21 05:57:15 +00:00
Andrew Tridgell
9486289ce4 some large systematic changes to make socket conversion easier. The
biggest one is the use of rprintf() instead of fprintf()
1998-05-07 14:50:22 +00:00
Andrew Tridgell
3a6a366fc5 finished 64 bit file offset support. Hopefully rsync can now transfer
files up to 2^64 bytes in size. Now I just need to find enough disk
space to test this :-)

The 64 bit offset code only works if off_t is 64 bits (or bigger!) on
both ends of the link. If one end tries to send a file greater than
2^31 in size and the other end doesn't support it then rsync will
abort.

This commit also cleans up some static declarations so they are in a
unitinitialised segment to save load time.
1998-03-23 12:52:57 +00:00
rsync-bugs
1634f4c459 casting cleanups (rsync now compiles cleanly under IRIX 6.4) 1997-12-15 21:41:33 +00:00
Paul Mackerras
b8d4524b4f Fixed bug in receiving 32kB compressible files 1996-11-06 04:49:53 +00:00
Paul Mackerras
f80621049e Fix compression bug where incompressible files weren't transmitted correctly. 1996-10-02 04:20:22 +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
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
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