cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Bug in curl_multi_perform

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 3 Jun 2002 09:39:31 +0200 (MET DST)

On 30 May 2002, yarram sunil wrote:

> In curl_multi_perform while processing easy handle, if any error occurs
> then state of easy handle is made "CURLM_STATE_COMPLETED" but the
> "multi->msgs" list is not updated (i.e. easy handle state is not added). Is
> there any reason why the list is not updated in case of error.
>
> The reason why i am asking is i am calling curl_multi_info_read after
> curl_multi_perform, if any error occurs i can know it only through a call
> to curl_multi_info_read. And curl_multi_info_read reads from the
> multi->msgs list. I think the multi->msgs list should be updated with the
> error code that was returned.

Gustaf Hui fixed this problem just recently, and I edited the way we deal
with the multi->msgs list for curl_multi_info_read().

Please check out the CVS code or wait for the upcoming next pre-release of
7.9.8.

-- 
    Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
Received on 2002-06-03