curl-library
Réf. : Re: Problem with gethostbyname_r andhttps
Date: Wed, 19 Dec 2001 14:44:54 +0100
Thank you Daniel.
We are going to change our platforms soon. I think we'll choose Solaris.
After the migration, i'll let you know if the problem still happens.
Daniel Stenberg <daniel_at_haxx.se> le 19/12/2001 14:40:28
Pour : Gilles Talbot/DED/DSTI/CLY_at_CLY
cc : libcurl Mailing list <Curl-library_at_lists.sourceforge.net>
Objet : Re: Problem with gethostbyname_r and https
On Mon, 17 Dec 2001, Gilles Talbot wrote:
> I use libcurl 7.9, on HP-UX 10.20.
First, try upgrading to the latest and greatest. I don't think that'll fix
your problems, but then again, you never know for sure!
> My application sends request to a http/https server.
> There is a thread created to send each request
> My application is supposed to send several requests at the same time.
> It works pretty good when i use http
> BUT : when i use https, most of the requests are OK, but sometimes, i
> have the following error : couldn't resolve host xxxxx
> with the CURLOPT_VERBOSE option, i saw that it is a problem on
> gethostbyname_r
> I tried making several requests in a single thread, and the problem
does
> not occur.
> i've checked my compilation options, they look compatible with
> multi-thread
As has been said before: this is likely to be a problem with how threads
work
on your particular platform. Other platforms have also shown problems
similar
to this in the past, all with various forms of (non-working) thread
implementations.
libcurl is being used in multi-threaded programs by many people, which
leads
me to believe that it is fairly multi-thread safe. If you can repeat your
problems on one of the platforms known to be stable systems
multi-thread-wise
(Solaris, Linux and Windows all seem good), then I'll start considering
this
a real issue. Until then, I can't but to think that this is a peculiar
issue
with threads under HPUX 10. I'm sorry.
-- Daniel Stenberg -- curl groks URLs -- http://curl.haxx.se/
Ce message contient des informations confidentielles ou appartenant au
Crédit Lyonnais et est établi à l'intention exclusive de ses
destinataires. Toute divulgation, utilisation, diffusion ou reproduction
(totale ou partielle) de ce message, ou des informations qu'il contient,
doit être préalablement autorisée. Tout message électronique est
susceptible d'altération et son intégrité ne peut être assurée.
Le Crédit Lyonnais décline toute responsabilité au titre de ce
message s'il a été modifié ou falsifié. Si vous n'êtes pas
destinataire de ce message, merci de le détruire immédiatement et
d'avertir l'expéditeur de l'erreur de distribution et de la destruction
du message.
This e-mail contains confidential information or information belonging
to Crédit Lyonnais and is intended solely for the addressees.
The unauthorised disclosure, use, dissemination or copying (either whole
or partial) of this e-mail, or any information it contains, is prohibited.
E-mails are susceptible to alteration and their integrity cannot be guaranteed.
Crédit Lyonnais shall not be liable for this e-mail if modified or falsified.
If you are not the intended recipient of this e-mail, please delete it
immediately from your system and notify the sender of the wrong delivery
and the mail deletion.
Received on 2001-12-19