diff --git a/checkin_notes b/checkin_notes index bd60e9f45d..397f42c4af 100644 --- a/checkin_notes +++ b/checkin_notes @@ -949,3 +949,11 @@ David 23 Jan 2012 html/user/ host_app_versions.php + +Rom 24 Jan 2012 + - client: treat the gzt file extension like we do for the gz file extension. + Disable libcurls ability to decompress on-the-fly and let the CC decompress + it after it has been fully downloaded. + + client/ + http_curl.cpp diff --git a/client/http_curl.cpp b/client/http_curl.cpp index a9a87087a5..4df85a9a46 100644 --- a/client/http_curl.cpp +++ b/client/http_curl.cpp @@ -547,7 +547,10 @@ int HTTP_OP::libcurl_exec( // use gzip at the application level. // So, detect this and don't accept any encoding in that case // - if (!out || !ends_with(std::string(out), std::string(".gz"))) { + if (!out || + !ends_with(std::string(out), std::string(".gz")) || + !ends_with(std::string(out), std::string(".gzt"))) + { curl_easy_setopt(curlEasy, CURLOPT_ENCODING, ""); }