Commit 9ead79c9 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

when we have accepted the server's connection in a PORT sequence, we set

the new socket to non-blocking
parent 9371aed4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -158,6 +158,7 @@ static CURLcode AllowServerConnect(struct SessionHandle *data,
      infof(data, "Connection accepted from server\n");

      conn->secondarysocket = s;
      Curl_nonblock(s, TRUE); /* enable non-blocking */
    }
    break;
  }