cURL / Mailing Lists / curl-library / Single Mail


Re: duphandle and multi interface

From: Frank Hempel <>
Date: Sat, 28 Apr 2007 18:55:18 +0200

Frank Hempel schrieb:
> Hello,
> When I have used an easy handle on a multi stack, I can only duplicate
> it as long as it belongs to the (living) multi stack. As soon as one
> removes it from the multi handle (curl_multi_remove_handle) or cleans up
> the whole multi handle (curl_multi_cleanup), it can be no longer
> duplicated, because the internal variable
> easyhandle->state.interface_used is still set to Curl_if_multi and the
> connection cache (state->connc) is NULLed which leads to an abort in

it actually is supposed to lead to an abort of the function. In
reference to the last thread on the mailinglist at the moment it leads
to a crash ;)

greets, frank
Received on 2007-04-28