curl-library
RE: cannot connect to server in a subthread
From: Patrick Monnerat <Patrick.Monnerat_at_datasphere.ch>
Date: Wed, 8 Oct 2008 21:28:59 +0200
Date: Wed, 8 Oct 2008 21:28:59 +0200
Michael Helmich wrote:
> I'm having a very strange problem when using curl in a multithreaded
> program on Solaris 9. When i'm accessing a certain server only in a
> subthread,
> curl_easy_perform() returns 7 ("Couldn't connect to server"), whereas
> when i'm accessing the same server only in the main thread (or first
> in the main thread and afterwards in the subthread), everything works
> fine. Connections to other servers work in a subthread as well as in
> the main thread. What could be the cause of such a behavior?
If it can help:
I once had such a problem on Solaris, because I did not compile with
"-DREENTRANT"...
Received on 2008-10-08