diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-07-29 12:54:05 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-07-29 12:54:05 +0000 |
commit | f1fa7b8ba469d9b8681e30f107b44004695b32e9 (patch) | |
tree | 80542fd7f33b8d77ecb6f66ae13d9f3e32ed2cc9 /lib/ssluse.h | |
parent | 86ff3194fa902e131c7a105a329202058327dcc7 (diff) |
Bug report #1759542 (http://curl.haxx.se/bug/view.cgi?id=1759542). A bad use
of a socket after it has been closed, when the FTP-SSL data connection is taken
down.
Diffstat (limited to 'lib/ssluse.h')
-rw-r--r-- | lib/ssluse.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/ssluse.h b/lib/ssluse.h index 5bb7090c5..d5424d5a6 100644 --- a/lib/ssluse.h +++ b/lib/ssluse.h @@ -32,10 +32,14 @@ CURLcode Curl_ossl_connect(struct connectdata *conn, int sockindex); CURLcode Curl_ossl_connect_nonblocking(struct connectdata *conn, int sockindex, bool *done); -void Curl_ossl_close(struct connectdata *conn); /* close a SSL connection */ + +/* close a SSL connection */ +void Curl_ossl_close(struct connectdata *conn, int sockindex); + /* tell OpenSSL to close down all open information regarding connections (and thus session ID caching etc) */ int Curl_ossl_close_all(struct SessionHandle *data); + /* Sets an OpenSSL engine */ CURLcode Curl_ossl_set_engine(struct SessionHandle *data, const char *engine); |