- 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
This commit is contained in:
Rom Walton 2012-01-24 22:12:30 +00:00
parent 36c6c529a2
commit 37fa2267c1
2 changed files with 8 additions and 4 deletions

View File

@ -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

View File

@ -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, "");
}