mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
Set loop2 counter limit to 60 on this test to avoid a false positive.
This commit is contained in:
parent
ef267ab449
commit
19e07771d1
@ -24,7 +24,7 @@ int test(char *URL)
|
||||
CURLM *m;
|
||||
int i;
|
||||
int loop1 = 40;
|
||||
int loop2 = 20;
|
||||
int loop2 = 60;
|
||||
|
||||
/* In windows, this will init the winsock stuff */
|
||||
curl_global_init(CURL_GLOBAL_ALL);
|
||||
@ -60,7 +60,7 @@ int test(char *URL)
|
||||
|
||||
interval.tv_sec = 1;
|
||||
interval.tv_usec = 0;
|
||||
loop2 = 20;
|
||||
loop2 = 60;
|
||||
|
||||
while ((--loop2>0) && (res == CURLM_CALL_MULTI_PERFORM)) {
|
||||
res = (int)curl_multi_perform(m, &running);
|
||||
|
Loading…
Reference in New Issue
Block a user