Home
last modified time | relevance | path

Searched refs:resolver (Results 1 – 25 of 35) sorted by relevance

12

/curl/lib/
H A Dasyn-ares.c174 CURLcode Curl_resolver_init(struct Curl_easy *easy, void **resolver) in Curl_resolver_init() argument
216 void Curl_resolver_cleanup(void *resolver) in Curl_resolver_cleanup() argument
218 ares_destroy((ares_channel)resolver); in Curl_resolver_cleanup()
247 if(data->state.async.resolver) in Curl_resolver_cancel()
248 ares_cancel((ares_channel)data->state.async.resolver); in Curl_resolver_cancel()
295 int max = ares_getsock((ares_channel)data->state.async.resolver, in Curl_resolver_getsock()
359 ares_process_fd((ares_channel)data->state.async.resolver, in waitperform()
407 ares_cancel((ares_channel)data->state.async.resolver); in Curl_resolver_is_resolved()
509 ares_cancel((ares_channel)data->state.async.resolver); in Curl_resolver_wait_resolv()
825 ares_gethostbyname((ares_channel)data->state.async.resolver, in Curl_resolver_getaddrinfo()
[all …]
H A Dasyn.h65 CURLcode Curl_resolver_init(struct Curl_easy *easy, void **resolver);
74 void Curl_resolver_cleanup(void *resolver);
H A Dasyn-thread.c101 CURLcode Curl_resolver_init(struct Curl_easy *easy, void **resolver) in Curl_resolver_init() argument
104 *resolver = calloc(1, sizeof(struct resdata)); in Curl_resolver_init()
105 if(!*resolver) in Curl_resolver_init()
116 void Curl_resolver_cleanup(void *resolver) in Curl_resolver_cleanup() argument
118 free(resolver); in Curl_resolver_cleanup()
643 struct resdata *reslv = (struct resdata *)data->state.async.resolver; in Curl_resolver_getsock()
686 struct resdata *reslv = (struct resdata *)data->state.async.resolver; in Curl_resolver_getaddrinfo()
715 struct resdata *reslv = (struct resdata *)data->state.async.resolver; in Curl_resolver_getaddrinfo()
/curl/tests/data/
H A Dtest302618 # require the threaded resolver only because it means pthreads might
22 threaded-resolver
H A Dtest65536 resolver start callback
H A Dtest23730 # certain hosts with buggy resolver code, the resulting address (192.0.2.127)
H A Dtest50658 # don't run this with the threaded-resolver or c-ares since the events might
61 !threaded-resolver
/curl/docs/libcurl/opts/
H A DCURLOPT_RESOLVER_START_FUNCTION.md39 *resolver_state* points to a backend-specific resolver state. Currently only
40 the ares resolver backend has a resolver state. It can be used to set up any
H A DCURLOPT_RESOLVER_START_DATA.md17 CURLOPT_RESOLVER_START_DATA - pointer passed to the resolver start callback
31 argument in the resolver start callback set with
H A DCURLOPT_DNS_INTERFACE.md32 the DNS resolver should bind to. This must be an interface name (not an
66 This option requires that libcurl was built with a resolver backend that
H A DCURLOPT_DNS_LOCAL_IP4.md30 Set the local IPv4 *address* that the resolver should bind to. The argument
65 This option requires that libcurl was built with a resolver backend that
H A DCURLOPT_DNS_LOCAL_IP6.md30 Set the local IPv6 *address* that the resolver should bind to. The argument
65 This option requires that libcurl was built with a resolver backend that
H A DCURLOPT_NOSIGNAL.md34 resolver, timeouts cannot occur while the name resolve takes place. Consider
35 building libcurl with the c-ares or threaded resolver backends to enable
H A DCURLOPT_QUICK_EXIT.md34 canceling and/or forgetting about a resolver thread, at the expense of a
H A DCURLOPT_DNS_SERVERS.md70 This option requires that libcurl was built with a resolver backend that
H A DCURLOPT_DOH_URL.md64 resolves that are performed without it, using the default name resolver
H A DCURLOPT_URL.md91 specified when passed to the name resolver functions.
/curl/docs/cmdline-opts/
H A Dipv6.md26 Your resolver may respond to an IPv6-only resolve request by returning IPv6
H A Ddoh-url.md20 instead of using the default name resolver mechanism. The URL must be HTTPS.
H A Dversion.md37 done using either the c-ares or the threaded resolver backends.
/curl/docs/libcurl/
H A Dcurl_global_init_mem.md39 threaded resolver option then the callback functions must be thread safe. The
40 threaded resolver is a common build option to enable (and in some cases the
H A Dlibcurl-thread.md67 without using either the c-ares or threaded resolver backends. On systems that
73 libcurl with c-ares or threaded-resolver support. c-ares is a library that
/curl/m4/
H A Dcurl-confopts.m431 dnl --enable-threaded-resolver or --disable-threaded-resolver, and
35 AC_MSG_CHECKING([whether to enable the threaded resolver])
38 AS_HELP_STRING([--enable-threaded-resolver],[Enable threaded resolver])
39 AS_HELP_STRING([--disable-threaded-resolver],[Disable threaded resolver]),
43 dnl --disable-threaded-resolver option used
/curl/tests/
H A Druntests.pl135 my $resolver; # name of the resolver backend (for human presentation)
523 $resolver="stock";
592 $resolver="c-ares";
681 $resolver="threaded";
/curl/.github/workflows/
H A Dlinux.yml154 - name: openssl libssh2 sync-resolver valgrind
157 configure: --with-openssl --enable-debug --disable-threaded-resolver --with-libssh2
250 …configure: --enable-debug --disable-shared --disable-threaded-resolver --with-libssh --with-openssl
255 …configure: --enable-debug --disable-shared --disable-threaded-resolver --with-libssh --with-openssl

Completed in 25 milliseconds

12