On Thu, Oct 15, 2009 at 12:22:18PM +0100, I wrote: > When used with FTP URLs I'm seeing libcurl 7.19.6 calling the function > registered with CURLOPT_HEADERFUNCTION during curl_multi_cleanup for > the "221 Goodbye." when closing the FTP session. This happens despite > me removing the handle with curl_multi_remove_handle. Is it expected > that curl_multi_cleanup can use a handle once it has been removed?
I managed to work around the problem by inserting a call to curl_easy_reset so that the sequence is now: curl_multi_remove_handle curl_easy_reset curl_easy_cleanup curl_multi_cleanup Thanks. Mike. ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
