cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re[3]: gethostbyname_thread: Access Violation

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 22 Aug 2005 23:46:46 +0200 (CEST)

On Mon, 22 Aug 2005, Igor Polyakov wrote:

>> In lib/hostthre.c:Curl_getaddrinfo() a thread is created to do the
>> resolving. The thread is killed when the connection is disconnected.
>
> No, it is not killed.
>
> As I understand, resolver thread is created within
> hosttre.c/init_resolve_thread, it is terminated in
> hosttre.c/Curl_wait_for_resolv.

It is? Then I'm totally lost. I obviously know even less Windows code than I
thought.

I'm afraid I'm a bit stumped on this, and I rely on some Windows savy person
to assist!

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-08-22