cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: share interface

From: Michael Mastroianni <MMastroianni_at_choicestream.com>
Date: Wed, 25 May 2005 10:06:23 -0400

Thanks for the example. Of course it was my bug. Sorry to have bothered
you. One last pair of questions: do the easy_handles in a multi_handle
automatically share dns cache and/or cookies, or do they need to be in a
share, too? Also, does the dns cache grow arbitrarily large, or is there
a cap?

Thanks for any help.
Regards,
Michael

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Tuesday, May 24, 2005 4:42 PM
To: libcurl development
Subject: RE: share interface

On Tue, 24 May 2005, Michael Mastroianni wrote:

> I just built a version of this test on a linux box and ran it: I get
EINVAL
> back from every single call to unlock.
>
> Still can't figure out what's causing it.

I don't see how libcurl has anything to do with problems to use
thread-related
lock/unlock functions.

Here's an example of a working use of the share interface:

   http://curl.haxx.se/lxr/source/tests/libtest/lib506.c

This merely shows how it works, it doesn't actually perform any proper
locks/unlocks.

But it proves that the basic libcurl functionality for this works.

-- 
  Commercial curl and libcurl Technical Support:
http://haxx.se/curl.html
Received on 2005-05-25