Commit 52af6e69 authored by Fabian Keil's avatar Fabian Keil Committed by Kamil Dudka
Browse files

Get test 2032 working when using valgrind

If curl_multi_fdset() sets maxfd to -1, the socket detection
loop is skipped and thus !found_new_socket is no cause for alarm.
parent 32be348a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -207,7 +207,7 @@ int test(char *url)
    }

    if (state == NeedSocketForNewHandle) {
      if(!found_new_socket) {
      if(maxfd != -1 && !found_new_socket) {
        fprintf(stderr, "Warning: socket did not open immediately for new "
                "handle (trying again)\n");
        continue;