projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9371aed
)
when we have accepted the server's connection in a PORT sequence, we set
author
Daniel Stenberg
<daniel@haxx.se>
Mon, 12 May 2003 12:37:35 +0000
(12:37 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Mon, 12 May 2003 12:37:35 +0000
(12:37 +0000)
the new socket to non-blocking
lib/ftp.c
patch
|
blob
|
history
diff --git
a/lib/ftp.c
b/lib/ftp.c
index 471bd6edfd4eada910cf0a22d143987acef093af..5b79662c2f25e640216a457c912174d491716e60 100644
(file)
--- a/
lib/ftp.c
+++ b/
lib/ftp.c
@@
-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;
}