From c21f848c1c54b10e6d0f99baf520789803437a4e Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 5 Mar 2001 13:40:08 +0000 Subject: enable persistant connections by default --- lib/ftp.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/ftp.c') 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; -- cgit v1.2.3