Buy commercial curl support from WolfSSL. We help you work
out your issues, debug your libcurl applications, use the API, port to new
platforms, add new features and more. With a team lead by the curl founder
himself.
Re: HTTPS records
- Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ] [ by messages with attachments ]
From: Dmitry Karpov via curl-library <curl-library_at_lists.haxx.se>
Date: Fri, 9 Dec 2022 19:50:49 +0000
On Thu, 8 Dec 2022, Daniel Stenberg via curl-library wrote:
> Sure. That should be fairly easy even! The "struct ares_addrinfo" contains TTL data.
Yes, the c-ares seems to be a front runner for async resolvers with many good features that it provides.
So, we can probably take its structures like ares_addrinfo as a model for the "high-end" resolver (maybe typedefing them to hide "ares") and use them instead of more limiting "low-end" structures of getaddrinfo.
This will allow libcurl to provide such a very nice feature like DNS TTL honoring at least with c-ares, which is very popular and frequently used combination (or any other potential feature rich async resolver), while keeping the current limitation for less powerful resolvers.
Thanks,
Dmitry Karpov
Date: Fri, 9 Dec 2022 19:50:49 +0000
On Thu, 8 Dec 2022, Daniel Stenberg via curl-library wrote:
> Sure. That should be fairly easy even! The "struct ares_addrinfo" contains TTL data.
Yes, the c-ares seems to be a front runner for async resolvers with many good features that it provides.
So, we can probably take its structures like ares_addrinfo as a model for the "high-end" resolver (maybe typedefing them to hide "ares") and use them instead of more limiting "low-end" structures of getaddrinfo.
This will allow libcurl to provide such a very nice feature like DNS TTL honoring at least with c-ares, which is very popular and frequently used combination (or any other potential feature rich async resolver), while keeping the current limitation for less powerful resolvers.
Thanks,
Dmitry Karpov
-- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.se/mail/etiquette.htmlReceived on 2022-12-09