Set loop2 counter limit to 60 on this test to avoid a false positive.
This commit is contained in:
@@ -24,7 +24,7 @@ int test(char *URL)
|
|||||||
CURLM *m;
|
CURLM *m;
|
||||||
int i;
|
int i;
|
||||||
int loop1 = 40;
|
int loop1 = 40;
|
||||||
int loop2 = 20;
|
int loop2 = 60;
|
||||||
|
|
||||||
/* In windows, this will init the winsock stuff */
|
/* In windows, this will init the winsock stuff */
|
||||||
curl_global_init(CURL_GLOBAL_ALL);
|
curl_global_init(CURL_GLOBAL_ALL);
|
||||||
@@ -60,7 +60,7 @@ int test(char *URL)
|
|||||||
|
|
||||||
interval.tv_sec = 1;
|
interval.tv_sec = 1;
|
||||||
interval.tv_usec = 0;
|
interval.tv_usec = 0;
|
||||||
loop2 = 20;
|
loop2 = 60;
|
||||||
|
|
||||||
while ((--loop2>0) && (res == CURLM_CALL_MULTI_PERFORM)) {
|
while ((--loop2>0) && (res == CURLM_CALL_MULTI_PERFORM)) {
|
||||||
res = (int)curl_multi_perform(m, &running);
|
res = (int)curl_multi_perform(m, &running);
|
||||||
|
|||||||
Reference in New Issue
Block a user