cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

threading problem on windows

From: Michael Mastroianni <MMastroianni_at_choicestream.com>
Date: Sat, 3 Jul 2004 18:52:03 -0400

When I run a lot of threads (like 150), I get blowups in
 
gethostbyname_thread in hostthre.c
 
in particular, I blow up on the line:
 
  he = gethostbyname (conn->async.hostname);

I noticed in the debugger that conn->async.hostname is a bad pointer when this happens. There's a comment above this fn that says it should be used when there is no ares or ipv6.
 
I got c-ares, built it, gave my curllib project the directories, told it to link against libares.lib, and defined USE_ARES in the project settings. Still, I end up here.
 
Anyone have any ideas what's up with this?
 
Any help would be greatly appreciated.
 
regards,
Michael Mastroianni
Received on 2004-07-04

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET