[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wget2 | Draft: WIP: Add c-ares support for quickly fill DNS cache in
From: |
@rockdaboot |
Subject: |
Re: wget2 | Draft: WIP: Add c-ares support for quickly fill DNS cache in background (!444) |
Date: |
Sun, 03 Jul 2022 11:18:11 +0000 |
Tim Rühsen started a new discussion on libwget/async_dns.c:
https://gitlab.com/gnuwget/wget2/-/merge_requests/444#note_1014128356
> + FD_ZERO(&read_fds);
> + FD_ZERO(&write_fds);
> + nfds = ares_fds(channel, &read_fds, &write_fds);
> +
> + if (nfds > 0) {
> + tvp = ares_timeout(channel, NULL, &tv);
> + select(nfds, &read_fds, &write_fds, NULL, tvp);
> + ares_process(channel, &read_fds, &write_fds);
> + }
> +}
> +
> +int wget_async_dns_create(wget_async_dns **async_dns, wget_dns *dns, int
> maxwaiting, int timeout, int maxtries)
> +{
> + int status;
> + wget_async_dns *_async_dns = wget_calloc(1, sizeof(wget_async_dns));
> +
Remove empty line here
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/-/merge_requests/444#note_1014128356
You're receiving this email because of your account on gitlab.com.
- Re: wget2 | Draft: WIP: Add c-ares support for quickly fill DNS cache in background (!444), @rockdaboot, 2022/07/03
- Re: wget2 | Draft: WIP: Add c-ares support for quickly fill DNS cache in background (!444),
@rockdaboot <=
- Re: wget2 | Draft: WIP: Add c-ares support for quickly fill DNS cache in background (!444), @rockdaboot, 2022/07/03
- Re: wget2 | Draft: WIP: Add c-ares support for quickly fill DNS cache in background (!444), @rockdaboot, 2022/07/03
- Re: wget2 | Draft: WIP: Add c-ares support for quickly fill DNS cache in background (!444), @rockdaboot, 2022/07/03
- Re: wget2 | Draft: WIP: Add c-ares support for quickly fill DNS cache in background (!444), @rockdaboot, 2022/07/03
- Re: wget2 | Draft: WIP: Add c-ares support for quickly fill DNS cache in background (!444), @rockdaboot, 2022/07/03
- Re: wget2 | Draft: WIP: Add c-ares support for quickly fill DNS cache in background (!444), @rockdaboot, 2022/07/03
- Re: wget2 | Draft: WIP: Add c-ares support for quickly fill DNS cache in background (!444), @rockdaboot, 2022/07/03
- Re: wget2 | Draft: WIP: Add c-ares support for quickly fill DNS cache in background (!444), @rockdaboot, 2022/07/03
- Re: wget2 | Draft: WIP: Add c-ares support for quickly fill DNS cache in background (!444), @rockdaboot, 2022/07/03