Home
last modified time | relevance | path

Searched refs:async (Results 1 – 13 of 13) sorted by relevance

/curl/lib/
H A Dasyn-ares.c247 if(data->state.async.resolver) in Curl_resolver_cancel()
249 destroy_async_data(&data->state.async); in Curl_resolver_cancel()
268 if(async->tdata) { in destroy_async_data()
277 async->tdata = NULL; in destroy_async_data()
418 if(!data->state.async.dns) in Curl_resolver_is_resolved()
421 *dns = data->state.async.dns; in Curl_resolver_is_resolved()
488 if(result || data->state.async.done) in Curl_resolver_wait_resolv()
514 *entry = data->state.async.dns; in Curl_resolver_wait_resolv()
581 res = data->state.async.tdata; in query_completed_cb()
769 data->state.async.port = port; in Curl_resolver_getaddrinfo()
[all …]
H A Dhostasyn.c73 data->state.async.status = status; in Curl_addrinfo_callback()
81 data->state.async.hostname, 0, in Curl_addrinfo_callback()
82 data->state.async.port, FALSE); in Curl_addrinfo_callback()
97 data->state.async.dns = dns; in Curl_addrinfo_callback()
102 data->state.async.done = TRUE; in Curl_addrinfo_callback()
H A Dasyn-thread.c397 if(async->tdata) { in destroy_async_data()
423 free(async->tdata); in destroy_async_data()
434 async->tdata = NULL; in destroy_async_data()
436 free(async->hostname); in destroy_async_data()
437 async->hostname = NULL; in destroy_async_data()
454 data->state.async.tdata = td; in init_resolve_thread()
512 td = data->state.async.tdata; in thread_wait_resolv()
524 data->state.async.done = TRUE; in thread_wait_resolv()
527 *entry = data->state.async.dns; in thread_wait_resolv()
605 if(!data->state.async.dns) { in Curl_resolver_is_resolved()
[all …]
H A Durl.h39 CURLcode Curl_connect(struct Curl_easy *, bool *async, bool *protocol_connect);
H A Dhostip.c745 data->state.async.resolver, in Curl_resolv()
1442 if(data->state.async.dns) { in Curl_once_resolved()
1443 conn->dns_entry = data->state.async.dns; in Curl_once_resolved()
1444 data->state.async.dns = NULL; in Curl_once_resolved()
1482 data->state.async.hostname); in Curl_resolver_error()
H A Dsocks.c348 data->state.async.dns = dns; in do_SOCKS4()
349 data->state.async.done = TRUE; in do_SOCKS4()
819 data->state.async.dns = dns; in do_SOCKS5()
820 data->state.async.done = TRUE; in do_SOCKS5()
H A Durl.c298 Curl_resolver_cleanup(data->state.async.resolver); in Curl_close()
521 result = Curl_resolver_init(data, &data->state.async.resolver); in Curl_open()
553 Curl_resolver_cleanup(data->state.async.resolver); in Curl_open()
3199 bool *async) argument
3249 *async = TRUE;
3357 bool *async) argument
3367 *async = FALSE;
3717 *async = FALSE;
3723 result = resolve_server(data, conn, async);
H A Deasy.c1016 &outcurl->state.async.resolver, in curl_easy_duphandle()
1017 data->state.async.resolver)) in curl_easy_duphandle()
H A Ddoh.c1305 failf(data, "Could not DoH-resolve: %s", data->state.async.hostname); in Curl_doh_is_resolved()
1367 data->state.async.dns = dns; in Curl_doh_is_resolved()
H A Dmulti.c2494 data->state.async.dns = dns;
2495 data->state.async.done = TRUE;
2550 bool async; local
2552 CURLcode result = Curl_connect(data, &async, &connected);
2569 if(async)
H A Durldata.h1251 struct Curl_async async; /* asynchronous name resolver data */ member
/curl/tests/http/testenv/
H A Dws_echo_server.py35 async def echo(websocket):
37 async for message in websocket:
43 async def run_server(port):
44 async with server.serve(echo, "localhost", port):
/curl/tests/unit/
H A Dunit1620.c80 bool async = FALSE; variable
88 rc = Curl_connect(empty, &async, &protocol_connect);
96 rc = Curl_connect(empty, &async, &protocol_connect);

Completed in 130 milliseconds