Skip to content
Snippets Groups Projects
Commit f58ba5ab authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Immanuel Gregoire fixed a problem with persistent transfers over SFTP - the

previous proto struct was kept.
parent 2694b970
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,9 @@
Changelog
Daniel S (29 September 2007)
- Immanuel Gregoire fixed a problem with persistent transfers over SFTP.
Daniel S (28 September 2007)
- Adapted the c-ares code to the API change c-ares 1.5.0 brings in the
notifier callback(s).
......
......@@ -27,6 +27,7 @@ This release includes the following bugfixes:
o --ftp-method nocwd on directory listings
o FTP, CURLOPT_NOBODY enabled and CURLOPT_HEADER disabled now does TYPE
before SIZE
o persistent transfers over SFTP
This release includes the following known bugs:
......
......@@ -1765,6 +1765,11 @@ CURLcode Curl_ssh_connect(struct connectdata *conn, bool *done)
CURLcode result;
struct SessionHandle *data = conn->data;
if (data->reqdata.proto.ssh) {
Curl_safefree(data->reqdata.proto.ssh);
data->reqdata.proto.ssh = NULL;
}
result = ssh_init(conn);
if (result)
return result;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment