Commit 346992c3 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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

the failed connect "immediately".
parent ab4086bc
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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);