Is it legal to invoke curl_multi_remove_handle from inside the write callback passed as CURLOPT_WRITEFUNCTION to curl_easy_setopt? I am getting a SIGSEGV with the following stack trace just after doing that (inside the same curl_multi_perform call), but I didn't manage to find a confirmation in the documentation that it is indeed forbidden to do so.
1 fputc fputc.c 35 2 dprintf_formatf mprintf.c 631 3 curl_mfprintf mprintf.c 1164 4 Curl_pgrsUpdate progress.c 542 5 Curl_readwrite transfer.c 1150 6 multi_runsingle multi.c 1879 7 curl_multi_perform multi.c 2149 Thanks -- Luca Niccoli ------------------------------------------------------------------- Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html
