Lines Matching refs:async
149 destroy_async_data(&conn->async); in Curl_resolver_cancel()
183 return &(((struct thread_data *)conn->async.os_specific)->tsd); in conn_thread_sync_data()
346 static void destroy_async_data(struct Curl_async *async) in destroy_async_data() argument
348 if(async->os_specific) { in destroy_async_data()
349 struct thread_data *td = (struct thread_data*) async->os_specific; in destroy_async_data()
370 free(async->os_specific); in destroy_async_data()
373 async->os_specific = NULL; in destroy_async_data()
375 free(async->hostname); in destroy_async_data()
376 async->hostname = NULL; in destroy_async_data()
392 conn->async.os_specific = (void *)td; in init_resolve_thread()
396 conn->async.port = port; in init_resolve_thread()
397 conn->async.done = FALSE; in init_resolve_thread()
398 conn->async.status = 0; in init_resolve_thread()
399 conn->async.dns = NULL; in init_resolve_thread()
403 conn->async.os_specific = NULL; in init_resolve_thread()
408 free(conn->async.hostname); in init_resolve_thread()
409 conn->async.hostname = strdup(hostname); in init_resolve_thread()
410 if(!conn->async.hostname) in init_resolve_thread()
432 destroy_async_data(&conn->async); in init_resolve_thread()
459 conn->async.hostname); in resolver_error()
468 struct thread_data *td = (struct thread_data*) conn->async.os_specific; in thread_wait_resolv()
482 conn->async.done = TRUE; in thread_wait_resolv()
485 *entry = conn->async.dns; in thread_wait_resolv()
487 if(!conn->async.dns && report) in thread_wait_resolv()
491 destroy_async_data(&conn->async); in thread_wait_resolv()
493 if(!conn->async.dns && report) in thread_wait_resolv()
506 struct thread_data *td = (struct thread_data*) conn->async.os_specific; in Curl_resolver_kill()
545 struct thread_data *td = (struct thread_data*) conn->async.os_specific; in Curl_resolver_is_resolved()
562 if(!conn->async.dns) { in Curl_resolver_is_resolved()
564 destroy_async_data(&conn->async); in Curl_resolver_is_resolved()
567 destroy_async_data(&conn->async); in Curl_resolver_is_resolved()
568 *entry = conn->async.dns; in Curl_resolver_is_resolved()