setting CURLMOPT_MAX_HOST_CONNECTIONS just in case
This commit is contained in:
parent
74878cfcfe
commit
f1c7e6e97e
|
@ -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 ---------*/
|
||||
|
|
Loading…
Reference in New Issue