cURL / Mailing Lists / curl-library / Single Mail


Re: libcurl + libevent2: Stalling if no data is received/written [new timeout patch]

From: Constantine Sapuntzakis <>
Date: Thu, 26 Aug 2010 10:05:31 -0700

> B) make sure the expire call from the threaded resolver is done thread-safe

It's thread safe. :-)

The only code executed in a background thread is hostthre.c is
getaddrinfo_thread and gethostbyname_thread. Everything else happens
in whatever thread is calling into the curl multi interface.

Those functions in hostthre.c call the following functions:

Curl_ipv4_resolve_r, Curl_getaddrinfo_ex, Curl_mutex_acquire, Curl_mutex_release

List admin:
Received on 2010-08-26