cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Question about curl_multi_info_read (7.10.2 MSVC6)

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 22 Apr 2004 20:50:38 +0200 (CEST)

On Thu, 22 Apr 2004 hym_at_p3-solutions.de wrote:

> Can I check inside the callback-function, if the transfer is complete?

No. Since you are called with a callback, the transfer hasn't completed!

> Trying curl_multi_info_read inside the callback did not work (no messages
> there -> messages are created after callback returned?!).
>
> Any hints?

It would be easier if you told us more about why you want/need this
information in the callback.

You could easily call your own callback function afterwards once you've
figured out that the transfer is complete.

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-04-22