From 37fa2267c1a78336902acedf84d4704565442e68 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 24 Jan 2012 22:12:30 +0000 Subject: [PATCH] - client: undo my previous commit. We request .gz from the server and write the contents to a .gzt file. client/ http_curl.cpp svn path=/trunk/boinc/; revision=25142 --- checkin_notes | 7 +++++++ client/http_curl.cpp | 5 +---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/checkin_notes b/checkin_notes index c6ba9379bf..67f7a15900 100644 --- a/checkin_notes +++ b/checkin_notes @@ -970,3 +970,10 @@ David 24 Jan 2012 client/ client_types.cpp cs_files.cpp + +Rom 24 Jan 2012 + - client: undo my previous commit. We request .gz from the server and write + the contents to a .gzt file. + + client/ + http_curl.cpp diff --git a/client/http_curl.cpp b/client/http_curl.cpp index 4df85a9a46..a9a87087a5 100644 --- a/client/http_curl.cpp +++ b/client/http_curl.cpp @@ -547,10 +547,7 @@ 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")) || - !ends_with(std::string(out), std::string(".gzt"))) - { + if (!out || !ends_with(std::string(out), std::string(".gz"))) { curl_easy_setopt(curlEasy, CURLOPT_ENCODING, ""); }