Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

https-rr, implementation improvements #16132

Closed
wants to merge 7 commits into from

Conversation

icing
Copy link
Contributor

@icing icing commented Jan 30, 2025

General improvements around handling of HTTPS RR:

  • fold DoH and async HTTPS-RR handling into common code. have common cleanups, etc. Have a CURLcode result in async handling to allow HTTPS RR parsing to fail.
  • keep target, ipv4hints, ipv6hints, port and echconfig also when resolving via cares. We need to know target and port when evaluating possible ALPN candidates to not go astray.
  • add CURL_TRC_DNS for tracing DNS operations
  • replace DoH specific tracing with DNS, use doh as alias for dns in curl_global_tracea()

@icing icing added the name lookup DNS and related tech label Jan 30, 2025
- fold DoH and async HTTPS-RR handling into common code.
  have common cleanups, etc. Have a CURLcode result in async
  handling to allow HTTPS RR parsing to fail.
- keep target, ipv4hints, ipv6hints, port and echconfig also
  when resolving via cares. We need to know `target` and `port`
  when evaluating possible ALPN candidates to not go astray.
- add CURL_TRC_DNS for tracing DNS operations
- replace DoH specific tracing with DNS, use doh as alias
  for dns in curl_global_tracea()
@icing icing force-pushed the httpsrr-more-complete branch from 9d298de to 82056af Compare February 18, 2025 10:41
@icing icing requested a review from bagder February 18, 2025 12:37
@bagder bagder closed this in 1b71038 Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libcurl API name lookup DNS and related tech
Development

Successfully merging this pull request may close these issues.

2 participants