mirror of
https://github.com/curl/curl.git
synced 2026-08-25 01:43:32 +03:00
Constantine Sapuntzakis threaded resolver enhancements
This commit is contained in:
parent
c054b8bfa7
commit
483ff1ca75
5 changed files with 290 additions and 437 deletions
|
|
@ -126,7 +126,7 @@ bool Curl_ipvalid(struct SessionHandle *data)
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
#if !defined(USE_THREADING_GETADDRINFO) && !defined(CURLRES_ARES)
|
||||
#if defined(CURLRES_SYNCH)
|
||||
|
||||
#ifdef DEBUG_ADDRINFO
|
||||
static void dump_addrinfo(struct connectdata *conn, const Curl_addrinfo *ai)
|
||||
|
|
@ -170,7 +170,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
|
|||
int pf;
|
||||
struct SessionHandle *data = conn->data;
|
||||
|
||||
*waitp=0; /* don't wait, we have the response now */
|
||||
*waitp = 0; /* synchronous response only */
|
||||
|
||||
/*
|
||||
* Check if a limited name resolve has been requested.
|
||||
|
|
@ -234,6 +234,6 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
|
|||
|
||||
return res;
|
||||
}
|
||||
#endif /* !USE_THREADING_GETADDRINFO && !CURLRES_ARES */
|
||||
#endif /* CURLRES_SYNCH */
|
||||
#endif /* CURLRES_IPV6 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue