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

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

the new socket to non-blocking
This commit is contained in:
Daniel Stenberg 2003-05-12 12:37:35 +00:00
parent 9371aed46c
commit 9ead79c9d4

View File

@ -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;
}