| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curl-library Mailing List Archives
Re: Multi Thread problem
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 20 Sep 2002 18:15:18 +0200 (MET DST)
On Fri, 20 Sep 2002, Chirag wrote:
You didn't mention version here, but I trust this is curl 7.9.8 we're talking
> The problem is that this function is called by a number of threads (15
Does the crash always happen when several threads get the same URL?
> I have put VERBOSE and here is where it gives me a seg_fault always...
And if you run the program with a debugger, can you get it to stop on the
> By default i am giving a timeout of 60 secs. I dont know what cud be the
That's only bad if the name lookup takes a long time since the abortion of
> I have tried all combination of increasing the timeout from 5 secs to 60
What does it do without timeout?
> Also i have tried it with 5 threads to 13 threads but the crash is erratic.
No, I didn't really see that. When and where exactly does it crash?
> http_body = (char *)strstr(chunk.memory, "\r\n\r\n");
This approach really isn't necessary. You can pass in a different "chunk"
I found no obvious flaws in the code.
-- Daniel Stenberg -- curl related mails on curl related mailing lists please ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sfReceived on 2002-09-20 These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info