From 34b33341829431aea3836568b7b00d796b9ab619 Mon Sep 17 00:00:00 2001 From: kervala Date: Wed, 2 Dec 2015 18:57:21 +0100 Subject: [PATCH] Fixed: Bug when CURLMOPT_MAX_HOST_CONNECTIONS is not supported --HG-- branch : develop --- code/nel/src/gui/group_html.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/nel/src/gui/group_html.cpp b/code/nel/src/gui/group_html.cpp index 7d451d561..24610f7eb 100644 --- a/code/nel/src/gui/group_html.cpp +++ b/code/nel/src/gui/group_html.cpp @@ -2087,14 +2087,14 @@ namespace NLGUI clearContext(); MultiCurl = curl_multi_init(); +#ifdef CURLMOPT_MAX_HOST_CONNECTIONS if (MultiCurl) { -#ifdef CURLMOPT_MAX_HOST_CONNECTIONS // added in libcurl 7.30.0 curl_multi_setopt(MultiCurl, CURLMOPT_MAX_HOST_CONNECTIONS, options.curlMaxConnections); -#endif curl_multi_setopt(MultiCurl, CURLMOPT_PIPELINING, 1); } +#endif RunningCurls = 0; _CurlWWW = NULL;