This patchset adds rolling checksum capability to xget.
The servers and/or the clients don't have to re-read the entire file to compute 
the checksum. 
Thus the 'file setup' time on the server is almost negligible and so is the 
time in which a file 
becomes available to the client after being downloaded. 
The crc checksum is replaced with adler-32 for it's speed and efficiency. The 
checksum is 
computed on-the-fly when the clients read chunks of the file from the server. 
The checksum 
functions used are those from zlib. 

Signed-off-by: Abhishek Kulkarni <[EMAIL PROTECTED]>

Patch 1)
Replaces the occurrences of 'crc' with 'checksum' to avoid any confusions.

Patch 2)
Replace the fcrc32 function with adler-32 rolling checksum functions.

Patch 3)
Some general whitespace cleanups and indentation/formatting fixes.

Reply via email to