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 /lib/sslgen.h | |
parent | b7aaa4d9071227d481eb163887d7dd21535b7ae3 (diff) | |
download | curl-4750e6f3c5fd42e19998242ddb63d7d5506b9fd9.tar.gz |
- 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 'lib/sslgen.h')
-rw-r--r-- | lib/sslgen.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/sslgen.h b/lib/sslgen.h index b910ac74b..11dea3243 100644 --- a/lib/sslgen.h +++ b/lib/sslgen.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 @@ -69,9 +69,13 @@ size_t Curl_ssl_version(char *buffer, size_t size); int Curl_ssl_check_cxn(struct connectdata *conn); +CURLcode Curl_ssl_shutdown(struct connectdata *conn, int sockindex); + #if !defined(USE_SSL) && !defined(SSLGEN_C) /* set up blank macros for none-SSL builds */ #define Curl_ssl_close_all(x) #endif +#define SSL_SHUTDOWN_TIMEOUT 10000 /* ms */ + #endif |