mirror of
https://github.com/curl/curl.git
synced 2026-08-25 06:03:32 +03:00
urldata: make maxconnects a 32 bit value
"2^32 idle connections ought to be enough for anybody" Closes #12375
This commit is contained in:
parent
14612e5fbe
commit
2d06eebf28
6 changed files with 20 additions and 25 deletions
|
|
@ -744,7 +744,7 @@ static CURLcode easy_perform(struct Curl_easy *data, bool events)
|
|||
return CURLE_RECURSIVE_API_CALL;
|
||||
|
||||
/* Copy the MAXCONNECTS option to the multi handle */
|
||||
curl_multi_setopt(multi, CURLMOPT_MAXCONNECTS, data->set.maxconnects);
|
||||
curl_multi_setopt(multi, CURLMOPT_MAXCONNECTS, (long)data->set.maxconnects);
|
||||
|
||||
mcode = curl_multi_add_handle(multi, data);
|
||||
if(mcode) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue