cURL / Mailing Lists / curl-library / Single Mail

curl-library

Bug in curl_multi_perform

From: yarram sunil <yvsunil_at_rediffmail.com>
Date: 30 May 2002 06:35:52 -0000

Hi,
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.

-Sunil.
_________________________________________________________
Click below to visit monsterindia.com and review jobs in India or
Abroad
http://monsterindia.rediff.com/jobs

_______________________________________________________________

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-01