cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: conn->proto.ftp == NULL in Curl_ftp_done

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 14 Sep 2006 23:13:59 +0200 (CEST)

On Thu, 14 Sep 2006, Armel Asselin wrote:

> when I remove a easy handle from my multi, it seems to happen that:
> conn->proto.ftp == NULL in Curl_ftp_done Curl_ftp_done crashes but the
> remain of the code seems to cope with that perfectly.
>
> is it a big bug from my side? or should I add some test in Curl_ftp_done?

I'm not sure I understand your use case nor what you say your added code would
do.

Can you add/provide a test case that repeats the problem? Or perhaps just show
us a patch that fixes it for you?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2006-09-14