curl-library
Re: Cable Unplugged!
From: Lothar May <curl_at_lotharmay.de>
Date: Wed, 23 Apr 2008 12:29:12 +0200
Date: Wed, 23 Apr 2008 12:29:12 +0200
Hi,
Ramprakash Jelari thinakaran wrote:
> Hi all,
> I am doing the HTTP post through multi perform. When the transfer is
> hapenning, i unplugged the cable. But still
> curl_multi_perform returns 0. Is there any way to capture the error for
> this case?.
apart from unplugging the cable: See
http://curl.haxx.se/libcurl/c/curl_multi_perform.html
"NOTE that this only returns errors etc regarding the whole multi stack.
There might still have occurred problems on individual transfers even
when this function returns CURLM_OK."
- you should call curl_multi_info_read
http://curl.haxx.se/libcurl/c/curl_multi_info_read.html
Best regards,
Lothar
Received on 2008-04-23