mirror of
https://github.com/curl/curl.git
synced 2026-08-25 04:13:32 +03:00
dnscache: own source file, improvements
- Rename `Curl_resolv_unlink()` to `Curl_dns_entry_unlink()`. - Change `Curl_dnscache_get()` to return CURLcode result. Returns now `CURLE_COULDNT_RESOLVE_HOST` for "negative" cache entries. - Add `Curl_dnscache_add_negative()` to put a "negative" entry into the cache. Closes #20864
This commit is contained in:
parent
b0f6e9a3d7
commit
96d5b5c688
35 changed files with 1648 additions and 1413 deletions
|
|
@ -235,7 +235,7 @@ function in a new field in the `dohentry` structure.
|
|||
The qname for the DoH query is modified if the port number is not 443, as
|
||||
defined in the SVCB specification.
|
||||
|
||||
When the DoH process has worked, `Curl_doh_is_resolved()` now also returns
|
||||
When the DoH process has worked, `Curl_doh_take_result()` now also returns
|
||||
the relevant HTTPS RR value data in the `Curl_dns_entry` structure.
|
||||
That is later accessed when the TLS session is being established, if ECH is
|
||||
enabled (from `lib/vtls/openssl.c` as described above).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue