2
0
mirror of https://github.com/curl/curl.git synced 2025-04-18 16:30:45 +08:00
Stefan Eissing 1ebd92d0fd
async: DoH improvements
Adds a "meta_hash" to each easy handle for keeping special data during
operations. All meta data set needs to add its destructor callback, so
that meta data gets destroyed properly when the easy handle is cleaned
up or reset.

Add data->master_mid for "sub" transfers that belong to a "master" easy
handle. When a "sub" transfer is done, the corresponding "master" can
add a callback to be invoked. Used in DoH name resolution.

DoH: use easy meta hash to add internal structs for DoH name resolution.
One in each in each probe easy handle. When probes are done, response
data is copied from the probe to the initiating easy.

This allows DoH using transfers and their probes to be cleaned up in any
sequence correctly.

Fold DoH cleanup into the Curl_async_shutdown() and Curl_async_destroy()
functions.

Closes 
2025-04-16 16:06:03 +02:00
..
2025-01-30 02:36:43 +01:00
2025-04-02 11:44:26 +02:00
2025-04-05 14:59:17 +02:00
2025-01-27 20:59:47 +01:00
2024-03-12 15:38:44 +00:00
2025-04-05 14:59:17 +02:00
2025-04-16 16:06:03 +02:00