cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Completed transfer (multi) question

From: Tarendash, David <David.Tarendash_at_gs.com>
Date: Tue, 17 Aug 2004 08:49:05 -0400

So then comes the question, how do you know if its completed through the
multi interface?

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Casey ODonnell
Sent: Tuesday, August 17, 2004 8:31 AM
To: libcurl development
Subject: Re: Completed transfer (multi) question

I've got a conference next week, but if no one has taken it on by
then, I'll go for it. Been meaning to dig into MULTI anyway.

Seems like a good solution.

Cheers.
Casey

On Tue, 17 Aug 2004 08:25:04 +0200 (CEST), Daniel Stenberg
<daniel-curl_at_haxx.se> wrote:
> On Mon, 16 Aug 2004, Tarendash, David wrote:
>
> > I have say, 25 simultaneous transfers ongoing. I called multi_perform()
and
> > am now in my WRITECALLBACK function. I don't want to filter through
structs
> > from multi_info_read(), because I might lose information on a different
> > handle (if I don't save them). I only want the status of THIS handle.
Is
> > this possible?
>
> No, this is not currently possible. But I've realized that it would be
handy.
>
> This question has come up several times recently so I figure we should
> consider perhaps adding a function that checks the status for a specific
easy
> handle. Possibly like curl_multi_info_read() that would take a easy handle
as
> input argument and only return a struct with info if the transfer is done,
> otherwise it would return NULL.
>
> Other suggestions/ideas? Anyone feels like patching?
>
> --
> Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
> Dedicated custom curl help for hire: http://haxx.se/curl.html
>

-- 
Casey O'Donnell
RPI STS Department - Graduate Student
http://homepage.mac.com/codonnell/
http://homepage.mac.com/codonnell/wxblogger/
Received on 2004-08-17