diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-31 01:45:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-31 01:46:35 +0300 |
commit | 8e182c09072b75d05c1dff89bd3337f08782a562 (patch) | |
tree | 704aaab3a2c261ed468755dabeb68cb0f8f0db74 /src/gui/windows/whoisonline.cpp | |
parent | a0021f305d242ebc98a3507fd15011b1b51232d0 (diff) | |
download | manaverse-8e182c09072b75d05c1dff89bd3337f08782a562.tar.gz manaverse-8e182c09072b75d05c1dff89bd3337f08782a562.tar.bz2 manaverse-8e182c09072b75d05c1dff89bd3337f08782a562.tar.xz manaverse-8e182c09072b75d05c1dff89bd3337f08782a562.zip |
Use all supported encoding while accesing http.
Diffstat (limited to 'src/gui/windows/whoisonline.cpp')
-rw-r--r-- | src/gui/windows/whoisonline.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp index a1683ffc8..b7616eb72 100644 --- a/src/gui/windows/whoisonline.cpp +++ b/src/gui/windows/whoisonline.cpp @@ -519,6 +519,7 @@ int WhoIsOnline::downloadThread(void *ptr) curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1); curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 7); curl_easy_setopt(curl, CURLOPT_TIMEOUT, 30); + Net::Download::addHeaders(curl); Net::Download::addProxy(curl); Net::Download::secureCurl(curl); |