cURL / Mailing Lists / curl-library / Single Mail

curl-library

sharing DNS

From: Jean-Philippe Barrette-LaPierre <jpb_at_rrette.com>
Date: Wed, 15 Jan 2003 20:31:04 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I allmost finished the implementaion of the sharing DNS thing. However there's
missing thing to get thread-safe: a function that duplicate a "Curl_dns_entry
*". The problem is with the hostcache_prune function, the function that clean
all outdated hostcache entry. At this time it's using the inuse variable, but
it's not thread-safe, so I'll need a dns_entry duplicate function. After that
the Curl_resolv function will return a pointer that we will need to delete
after use.

P.S. I don't have a deepfull knowledge of the addrinfo structure(to be
portable), so I can't do the duplicate function myself.
- --
Jean-Philippe Barrette-LaPierre
Maintener of curlpp: When TRYING(but still in good way) to get the best of C++
(http://www.sourceforge.net/projects/curlpp)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+Jgtbb/24YeGNKWQRAvEhAJ933XFCsEiLUSaE0GQvDN4ebO7ugACfbJuD
Yp2CHa9TbmuTCo47/MeEPXY=
=MZVw
-----END PGP SIGNATURE-----

-------------------------------------------------------
This SF.NET email is sponsored by: A Thawte Code Signing Certificate
is essential in establishing user confidence by providing assurance of
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
Received on 2003-01-16