DOH: provision for using additional dedicated DOH probe slots #4629
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
DOH: provision for using additional dedicated DOH probe slots
The function Curl_doh() uses two dedicated “probe slots” for holding
DOH query state independently for each of the DNS QTYPEs, A and AAAA.
In some use cases, additional host attributes, also available from the DNS,
are needed as connection parameters.
This PR simplifies coding for build-time allocation and run-time
management of extra probe slots which may be needed to hold
query state when retrieving such additional host attributes.
Relates to this posting to the curl-library mailing list.
---- stop ----