glibc versions, and with this patch applied it no longer shows up to me. The
problem was indeed a flaw that made curl use a file handle already closed.
if (config->engine)
free(config->engine);
+ /* cleanup the curl handle! */
+ curl_easy_cleanup(curl);
+
if(config->headerfile && !headerfilep && heads.stream)
fclose(heads.stream);
if(allocuseragent)
free(config->useragent);
- /* cleanup the curl handle! */
- curl_easy_cleanup(curl);
-
if(config->trace_fopened && config->trace_stream)
fclose(config->trace_stream);