A short time back I changed my configuration to disable zlib,
as I noticed when nget would read and write to the cache files
my system would become unusable do to CPU load. I have more
diskspace than CPU cycles.
./configure --without-zlib --enable-checksum=crc32
Recently I've been having issues my ngettemp-* files were being
overwritten during a multi-file download by the later files.
Only a problem when downloading files with missing articles ,
nget would keep the ngettemp files but examining them I would
notice things like "part23" having overwritten all a handleful of
the "part16" temp files.
Examing the source, it appears that without zlib, the --enable-checksum=...
doesn't do anything, instead it defaults to using STL Hash object.
Clearly this isn't suitable given the name collisions I'm
Removing the --without-zlib fixes the problem. However there doesn't
appear to be a configuration option to turn off compression (only
disabling zlib at compile-time option). For my use, I hacked the source
to change the HAVE_ZLIB define to USE_ZLIB where appropriate.
Guess the bug is that the configure script doesn't prevent/warn
someone that the --without-zlib will lead them to the buggy hash
filenames. And a nice enhancement might be a config option to turn
on/off compression at run-time.