diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2007-02-20 22:02:11 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2007-02-20 22:02:11 +0000 |
commit | 2f5e99ca02b6716fdac59c299ab7738a2077743d (patch) | |
tree | d0c1fc8f0681b1770f93e3bccd4329b94807dfbf /lib/ssluse.c | |
parent | 6014c21bc96b40eeb7a94fe7f6dbb182af0ba0ae (diff) | |
download | curl-2f5e99ca02b6716fdac59c299ab7738a2077743d.tar.gz |
New FTP CCC functionality - adds passive and active mode to accomodate for different server behaviour
Diffstat (limited to 'lib/ssluse.c')
-rw-r--r-- | lib/ssluse.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c index dc4fc927c..b362ab3f2 100644 --- a/lib/ssluse.c +++ b/lib/ssluse.c @@ -749,6 +749,9 @@ int Curl_ossl_shutdown(struct connectdata *conn, int sockindex) response. Thus we wait for a close notify alert from the server, but we do not send one. Let's hope other servers do the same... */ + if(data->set.ftp_ccc == CURLFTPSSL_CCC_ACTIVE) + (void)SSL_shutdown(connssl->handle); + if(connssl->handle) { while(!done) { int what = Curl_select(conn->sock[sockindex], |