diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-05-12 12:37:35 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-05-12 12:37:35 +0000 |
commit | 9ead79c9d42018394b7c34b1da16a4423daab556 (patch) | |
tree | 0de3a15d70acbc3b2c4ac579870c49fc0482d0cf | |
parent | 9371aed46c5bf938b2dcfae65086292ead322a77 (diff) |
when we have accepted the server's connection in a PORT sequence, we set
the new socket to non-blocking
-rw-r--r-- | lib/ftp.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; } |