1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Attempt to make this code more forgiving for systems that doesn't detect

the failed connect "immediately".
This commit is contained in:
Daniel Stenberg 2005-03-31 14:10:54 +00:00
parent ab4086bc24
commit 346992c366

View File

@ -20,7 +20,7 @@ int test(char *URL)
int running;
int max_fd;
int rc;
int loop=100;
int loop=10;
curl_global_init(CURL_GLOBAL_ALL);
c = curl_easy_init();
@ -82,7 +82,7 @@ int test(char *URL)
/* we only allow a certain number of loops to avoid hanging here
forever */
} while(rc && (--loop>0));
} while(--loop>0);
}
curl_multi_remove_handle(m, c);