Permalink
Browse files
httpfetch: Enable gzip support
- Loading branch information...
Showing
with
1 addition
and
0 deletions.
-
+1
−0
src/httpfetch.cpp
|
@@ -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()) { |
|
|
0 comments on commit
21f3237