diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-01-05 23:11:14 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-01-05 23:11:14 +0000 |
commit | 4750e6f3c5fd42e19998242ddb63d7d5506b9fd9 (patch) | |
tree | da414a616a37056c35bda6312721064e7d65839b /include | |
parent | b7aaa4d9071227d481eb163887d7dd21535b7ae3 (diff) |
- Linus Nielsen Feltzing introduced the --ftp-ssl-ccc command line option to
curl that uses the new CURLOPT_FTP_SSL_CCC option in libcurl. If enabled, it
will make libcurl shutdown SSL/TLS after the authentication is done on a
FTP-SSL operation.
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index ea5b46201..8bbdd1b24 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2006, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al. * * This software is licensed as described in the file COPYING, which * you should have received as part of this distribution. The terms @@ -397,6 +397,8 @@ typedef enum { generic so the error message will be of interest when this has happened */ + CURLE_FTP_SSL_CCC_FAILED, /* 80 - Failed to clear the FTP command + channel */ CURL_LAST /* never use! */ } CURLcode; @@ -1049,6 +1051,9 @@ typedef enum { CINIT(SSH_PUBLIC_KEYFILE, OBJECTPOINT, 152), CINIT(SSH_PRIVATE_KEYFILE, OBJECTPOINT, 153), + /* Send CCC (Clear Command Channel) after authentication */ + CINIT(FTP_SSL_CCC, LONG, 154), + CURLOPT_LASTENTRY /* the last unused */ } CURLoption; |