Home | History | Annotate | Download | only in lib

Lines Matching refs:async

170 static void destroy_async_data(struct Curl_async *async);
179 destroy_async_data(&conn->async);
183 * destroy_async_data() cleans up async resolver data.
185 static void destroy_async_data(struct Curl_async *async)
187 free(async->hostname);
189 if(async->os_specific) {
190 struct ResolverResults *res = (struct ResolverResults *)async->os_specific;
198 async->os_specific = NULL;
201 async->hostname = NULL;
312 conn->async.os_specific;
324 if(!conn->async.dns) {
326 conn->async.hostname, ares_strerror(conn->async.status));
331 *dns = conn->async.dns;
333 destroy_async_data(&conn->async);
395 if(result || conn->async.done)
421 *entry = conn->async.dns;
474 res = (struct ResolverResults *)conn->async.os_specific;
478 Curl_addrinfo *ai = Curl_he2ai(hostent, conn->async.port);
543 free(conn->async.hostname);
544 conn->async.hostname = bufp;
545 conn->async.port = port;
546 conn->async.done = FALSE; /* not done */
547 conn->async.status = 0; /* clear */
548 conn->async.dns = NULL; /* clear */
551 free(conn->async.hostname);
552 conn->async.hostname = NULL;
555 conn->async.os_specific = res;