diff --git a/src/network.c b/src/network.c index a849848..fd91fc5 100644 --- a/src/network.c +++ b/src/network.c @@ -253,6 +253,8 @@ LinkTable *network_init(const char *url) } curl_multi_setopt(curl_multi, CURLMOPT_MAX_TOTAL_CONNECTIONS, NETWORK_CONFIG.max_conns); + curl_multi_setopt(curl_multi, CURLMOPT_MAX_HOST_CONNECTIONS, + NETWORK_CONFIG.max_conns); curl_multi_setopt(curl_multi, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX); /* ------------ Initialise locks ---------*/