mirror of
https://github.com/curl/curl.git
synced 2026-08-25 07:03:31 +03:00
hostip: remove conn->data from resolver functions
This also moves the 'async' struct from the connectdata struct into the Curl_easy struct, which seems like a better home for it. Closes #6497
This commit is contained in:
parent
d3a3bdb5ef
commit
8335c6417e
18 changed files with 242 additions and 254 deletions
|
|
@ -358,9 +358,9 @@ static CURLcode bindlocal(struct Curl_easy *data,
|
|||
conn->ip_version = CURL_IPRESOLVE_V6;
|
||||
#endif
|
||||
|
||||
rc = Curl_resolv(conn, dev, 0, FALSE, &h);
|
||||
rc = Curl_resolv(data, dev, 0, FALSE, &h);
|
||||
if(rc == CURLRESOLV_PENDING)
|
||||
(void)Curl_resolver_wait_resolv(conn, &h);
|
||||
(void)Curl_resolver_wait_resolv(data, &h);
|
||||
conn->ip_version = ipver;
|
||||
|
||||
if(h) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue