cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: libcurl crashes when reusing a curl handle over SFTP after calling curl_easy_reset()

From: Brian Ulm <ulmbj1_at_gmail.com>
Date: Sat, 8 Mar 2008 17:12:13 -0500

Thanks for the quick response.

The reason I was attempting to use curl_easy_reset() is because I was having
a different issue when I did not use curl_easy_reset(), which may in fact be
a legitimate bug.

1.) Initialize a curl handle
2.) Attempt to download a file over SFTP that DOES NOT EXIST on the server.
3.) Attempt to download a file from the same server that DOES EXIST.

The curl response code for both steps 2 and 3 are CURLE_REMOTE_FILE_NOT_FOUND
(78) even though if I run the exact same code from step 3 without running
step 2 first, it will download the file successfully.
Received on 2008-03-08