cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem in Accessing HTTP sites from Solaris 8

From: Halsur Sreekantaswamy <hswamy_at_Basit.COM>
Date: Tue, 13 Jan 2004 10:12:22 -0500

> Message: 9
> Date: Mon, 12 Jan 2004 17:13:22 +0100 (CET)
> From: Daniel Stenberg <daniel-curl_at_haxx.se>
> To: libcurl Mailing list <curl-library_at_lists.sourceforge.net>
> Subject: Re: Problem in Accessing HTTP sites from Solaris 8
> Reply-To: curl-library_at_lists.sourceforge.net
>
> On Mon, 12 Jan 2004, Halsur Sreekantaswamy wrote:
>
> > To isolate the problem, I took simple.c and modified its main to create
a
> > thread (solaris thr_create) and moved all the curl related code in
simple.c
> > main to the new thread function. I still get the same problem.
> >
> > Do you (or anybody else) have a simple multi-threaded example? I would
> > appreciate if you can share it with me.
>
> I believe I got the multithread.c example compile and run fine on my
Solaris 7
> box.
>
I complied and ran the multithread.c example, but it didn't print any output
other than saying threads were created and then terminated. I was expecting
it to print the html output onto stdout. When I added code to check whether
curl_easy-perform is succeeding or not, it got the same error I was getting
with my example, "Failed connect to ..." (error code = 7). I don't know what
is going on.

Do you have or know of any other mutithreaded example/applications that are
publically available?

Thanks,
--Halsur
> --
> Daniel Stenberg -- http://curl.haxx.se/ -- http://daniel.haxx.se/
> [[ Do not send mails to this email address. They won't reach me. ]]
>

-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
Received on 2004-01-13