cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: lib curl question(s)

From: Evan Martin <eeyem_at_u.washington.edu>
Date: Tue, 29 May 2001 18:41:17 -0700

On Tue, May 29, 2001 at 08:01:28PM +0200, Daniel Stenberg wrote:
> On 29 May 2001, Alan wrote:
> > b) How difficult would it be to hack it ot expose the FD to use it in an
> > eventloop with many instances of libcurl ?
>
> I once planned to offer a "low level" interface that would do that (which was
> dumped due to lack of demand). It would certainly not be a trivial nor a
> quick fix to have that implemented. Still, of course it would be far from
> impossible.
>
> The only really sane way to use many instances of libcurl today is with
> threads.

Also notice that name resolution will block anyway, so exposing the fd
won't gain you true asynchronicity unless you're only retrieving
exclusively by IP.

-- 
Evan Martin - martine_at_speakeasy.org
 http://www.speakeasy.org/~martine
_______________________________________________
Curl-library mailing list
Curl-library_at_lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/curl-library
Received on 2001-05-30