Does anyone know how to uncompress the contents of a gzip file that i got with curl?
for example: http://torcache.com/torrent/63ABC1435AA5CD48DCD866C6F7D5E8076603439
libcurl offers a feature that makes it decompress the contents automatically (if built with zlib).
See the CURLOPT_ACCEPT_ENCODING option: https://curl.haxx.se/libcurl/c/CURLOPT_ACCEPT_ENCODING.html