curl-library
Re: libcurl crashes when reusing a curl handle over SFTP after calling curl_easy_reset()
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 8 Mar 2008 22:51:27 +0100 (CET)
Date: Sat, 8 Mar 2008 22:51:27 +0100 (CET)
On Fri, 7 Mar 2008, Brian Ulm wrote:
> I'm having some issues with reusing a SFTP curl handle after sending the
> curl_easy_reset() command.
>
> The scenario is:
>
> 1.) Initialize a curl handle
> 2.) Download a file over SFTP.
> 3.) Call curl_easy_reset() on the curl handle.
> 4.) Attempt to download the same file using the same commands as in step 2.
Thanks for your report.
I can repeat the same problem using your recipe! I'll start investigating...
A work-around for you until a fix is made, is to simply skip calling
curl_easy_reset()!
-- Commercial curl and libcurl Technical Support: http://haxx.se/curl.htmlReceived on 2008-03-08