|
|
@ -2087,14 +2087,14 @@ namespace NLGUI
|
|
|
|
clearContext();
|
|
|
|
clearContext();
|
|
|
|
|
|
|
|
|
|
|
|
MultiCurl = curl_multi_init();
|
|
|
|
MultiCurl = curl_multi_init();
|
|
|
|
|
|
|
|
#ifdef CURLMOPT_MAX_HOST_CONNECTIONS
|
|
|
|
if (MultiCurl)
|
|
|
|
if (MultiCurl)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
#ifdef CURLMOPT_MAX_HOST_CONNECTIONS
|
|
|
|
|
|
|
|
// added in libcurl 7.30.0
|
|
|
|
// added in libcurl 7.30.0
|
|
|
|
curl_multi_setopt(MultiCurl, CURLMOPT_MAX_HOST_CONNECTIONS, options.curlMaxConnections);
|
|
|
|
curl_multi_setopt(MultiCurl, CURLMOPT_MAX_HOST_CONNECTIONS, options.curlMaxConnections);
|
|
|
|
#endif
|
|
|
|
|
|
|
|
curl_multi_setopt(MultiCurl, CURLMOPT_PIPELINING, 1);
|
|
|
|
curl_multi_setopt(MultiCurl, CURLMOPT_PIPELINING, 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
RunningCurls = 0;
|
|
|
|
RunningCurls = 0;
|
|
|
|
_CurlWWW = NULL;
|
|
|
|
_CurlWWW = NULL;
|
|
|
|
|
|
|
|
|
|
|
|