cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl_multi_remove_handle closes easy handle, causes crash

From: Hauke Duden <h.ns.duden_at_gmx.net>
Date: Wed, 24 Mar 2010 14:42:37 +0100

On 23 Mar 2010, at 13:10, Daniel Stenberg wrote:

> On Tue, 23 Mar 2010, Daniel Stenberg wrote:
>
>>> I have attached my test program. I don't know of any public FTP
>>> servers, but I have tested it with 3 different ones and the server
>>> does not seem to matter. Simply change the code of the function
>>> initEasyRequest and enter the login details of any FTP server and
>>> it should work (or rather, crash).
>>
>> Update: I can repeat the problem based on your example app, thanks
>> a lot. I'm working on trying to understand it properly to make the
>> accurate fix. Stay tuned!
>
> Here's my suggested fix that makes the test program run fine for me
> (and all test cases too). I intend to commit and push to the git
> repo within shortly.

I have tested the fix in our main application. It seems to all work
fine now. Thank you very much!

Hauke
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-03-24