httpsrr: DoH with HTTPS, fix response handling

Fix handling of DoH response that only asks for HTTPS records.

Add test 2117 for checking that a HTTPS-RR resolve is processed,
even though the actual answer is invalid.

Closes #22372
This commit is contained in:
Stefan Eissing 2026-07-23 11:20:19 +02:00 committed by Daniel Stenberg
parent 474ebb5247
commit a954d87f0b
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
9 changed files with 155 additions and 44 deletions

View file

@ -101,6 +101,11 @@ trace.
Tracing of DNS operations to resolve hostnames and HTTPS records.
## `doh`
Tracing of DoH operations (DNS over HTTPS) to resolve hostnames and
HTTPS records.
## `lib-ids`
Adds transfer and connection identifiers as prefix to every call to
@ -116,10 +121,6 @@ connection. The command line tool `curl`uses the same format for its
transfers but have no own way to identify in trace output which transfer
a trace event is connected to.
## `doh`
Former name for DNS-over-HTTP operations. Now an alias for `dns`.
## `multi`
Traces multi operations managing transfers' state changes and sockets poll