mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
src/gui/lua/lua_curl.cpp ACCEPT_ENCODING for gzip compressed data, need build libcurl with --with-zlib
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7fee7784ae
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2016-12-22 (Thu, 22 Dec 2016)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -265,6 +265,8 @@ Example:
|
||||
curl_easy_setopt(curl_handle, CURLOPT_CONNECTTIMEOUT, (long)connectTimeout);
|
||||
curl_easy_setopt(curl_handle, CURLOPT_NOSIGNAL, 1L);
|
||||
curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, 0L);
|
||||
/* enable all supported built-in compressions */
|
||||
curl_easy_setopt(curl_handle, CURLOPT_ACCEPT_ENCODING, "");
|
||||
|
||||
if (!userAgent.empty())
|
||||
curl_easy_setopt(curl_handle, CURLOPT_USERAGENT, userAgent.c_str());
|
||||
|
Reference in New Issue
Block a user