aboutsummaryrefslogtreecommitdiff
path: root/lib/ftp.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2001-03-05 13:40:08 +0000
committerDaniel Stenberg <daniel@haxx.se>2001-03-05 13:40:08 +0000
commitc21f848c1c54b10e6d0f99baf520789803437a4e (patch)
tree1e33ece0dcd72c886974b23f1ae8f7d1b63f6d62 /lib/ftp.c
parent84e94fda8ba36c77c80e012c52ad36a4a59de6a7 (diff)
enable persistant connections by default
Diffstat (limited to 'lib/ftp.c')
-rw-r--r--lib/ftp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ftp.c b/lib/ftp.c
index 293a20e2c..2a2e519c9 100644
--- a/lib/ftp.c
+++ b/lib/ftp.c
@@ -296,6 +296,9 @@ CURLcode Curl_ftp_connect(struct connectdata *conn)
memset(ftp, 0, sizeof(struct FTP));
conn->proto.ftp = ftp;
+ /* We always support persistant connections on ftp */
+ conn->bits.close = FALSE;
+
/* get some initial data into the ftp struct */
ftp->bytecountp = &conn->bytecount;