]> git.ipfire.org Git - thirdparty/curl.git/commit
DoH: improvements master
authorStefan Eissing <stefan@eissing.org>
Sat, 8 Aug 2026 11:20:15 +0000 (13:20 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 10 Aug 2026 11:53:31 +0000 (13:53 +0200)
commit2d30fd26a060e7c3de3393503fb5ba7e8f3840f8
treecd39c4c638f2fa1617dbdd8be7453caca1f5d85d
parent791b6883edc1c02c4b253e8b47237ec13ac66d06
DoH: improvements

- decode results when individual requests are done
- makes happy eyeballing start asap
- remove doh_resp structures as no longer needed
- remove CURL_DNS_TYPE_NS, CURL_DNS_TYPE_CNAME and
  CURL_DNS_TYPE_DNAME from DoH
- DoH: do not set PIPEWAIT and SSL OPTS when url starts with http:
- mark Doh master handle as dirty after every sub-request, not only the last
- Doh: start probe on AAAA before A (was the other way).

cf-dns: set EXPIRE_HAPPY_EYEBALLS timer when waiting 50ms on AAAA
result or progress will not be triggered in time.

Add debug env var CURL_DBG_HE_AAAA_AWAIT_MS to override the
default 50ms on waiting for the AAAA result to arrive.

test2100: set CURL_DBG_HE_AAAA_AWAIT_MS to 60 seconds to
provide enough time for slow CI runs to sent all DoH requests.

closes #22514
docs/libcurl/libcurl-env-dbg.md
lib/vdns/cf-dns.c
lib/vdns/doh.c
lib/vdns/doh.h
tests/data/test2100
tests/http/test_21_resolve.py
tests/http/testenv/dnsd.py
tests/server/dnsd.c
tests/unit/unit1650.c