summaryrefslogtreecommitdiff
path: root/token.c
Commit message (Collapse)AuthorAgeFilesLines
* Back out change that treated "refuse options = compress" the same asDavid Dykstra1998-11-251-2/+7
| | | | | | "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.
* When "refuse options = compress" is set in rsyncd.conf, silently send filesDavid Dykstra1998-11-241-1/+2
| | | | | at compression level 0 instead of printing an error and exitting. This is the same effect as "dont compress = *".
* added "dont compress" option with the default setting ofAndrew Tridgell1998-11-201-1/+32
| | | | *.gz *.tgz *.zip *.z *.rpm *.deb
* patch from Alberto Accomazzi <aaccomazzi@cfa.harvard.edu> to addAndrew Tridgell1998-11-031-8/+8
| | | | different exit codes for different conditions.
* added finddead target, removed dead code and made some functionsAndrew Tridgell1998-09-091-2/+1
| | | | static
* Update to use the new zlib-1.1.2 code.Paul Mackerras1998-05-221-229/+286
| | | | | The compressed token code now handles the null (-2) token from the match logic.
* this fixes two problems:Andrew Tridgell1998-05-221-4/+7
| | | | | | | | | | | 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.
* formatting changes. committed separately so they don't mask the comingAndrew Tridgell1998-05-211-28/+27
| | | | token changes.
* some large systematic changes to make socket conversion easier. TheAndrew Tridgell1998-05-071-7/+7
| | | | biggest one is the use of rprintf() instead of fprintf()
* finished 64 bit file offset support. Hopefully rsync can now transferAndrew Tridgell1998-03-231-5/+5
| | | | | | | | | | | | | 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.
* casting cleanups (rsync now compiles cleanly under IRIX 6.4)rsync-bugs1997-12-151-7/+7
|
* Fixed bug in receiving 32kB compressible filesPaul Mackerras1996-11-061-3/+17
|
* Fix compression bug where incompressible files weren't transmitted correctly.Paul Mackerras1996-10-021-1/+1
|
* This should fix the bug where file transfer with compression failed withPaul Mackerras1996-07-151-3/+6
| | | | the message 'inflate returned 0 (0 bytes)'.
* fix buglet in handling multiple filesPaul Mackerras1996-07-031-0/+1
|
* *** empty log message ***Andrew Tridgell1996-07-031-2/+0
|
* Added in-stream deflate compression for file reconstruction instructions.Paul Mackerras1996-07-031-6/+278
|
* added resend logicAndrew Tridgell1996-07-021-1/+2
| | | | added checksum on all files
* *** empty log message ***Andrew Tridgell1996-07-011-3/+3
|
* added hooks for compression in token.cAndrew Tridgell1996-07-011-0/+101