cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem with curl_multi_remove_handle

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 8 Nov 2006 16:42:45 +0100 (CET)

On Wed, 8 Nov 2006, Tomasz Cybulski wrote:

> It seems that when doing curl_multi_remove_handle(multi, easy) before
> transfer on easy is complete and then adding the same easy (or different -
> it doesn't matter) to multi makes curl_multi_perform return incorect number
> of running_handles (increased by 1 - the one that I already removed). It
> makes my application think there are pending transfers as running_handles
> never decreases to 0.
>
> Is this a bug or I am missing something?

Sounds like a bug. Is this 7.16.0? If so, can you provide a small source code
that repeats the problem?

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