Skip to content

Commit

Permalink
httpfetch: Enable gzip support
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Nov 4, 2017
1 parent 2884196 commit 21f3237
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/httpfetch.cpp
Expand Up @@ -246,6 +246,7 @@ HTTPFetchOngoing::HTTPFetchOngoing(const HTTPFetchRequest &request_,
curl_easy_setopt(curl, CURLOPT_FAILONERROR, 1);
curl_easy_setopt(curl, CURLOPT_FOLLOWLOCATION, 1);
curl_easy_setopt(curl, CURLOPT_MAXREDIRS, 1);
curl_easy_setopt(curl, CURLOPT_ENCODING, "gzip");

std::string bind_address = g_settings->get("bind_address");
if (!bind_address.empty()) {
Expand Down

0 comments on commit 21f3237

Please sign in to comment.