mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:43:31 +03:00
asyn: bring back port to the Curl_async struct
To make sure we store and use the correct port used for this particular
lookup.
Partial revert of 8ded8e5f3f
Fixes #16531
Reported-by: Jay Satiro
Closes #16532
This commit is contained in:
parent
5f72a69076
commit
2633961d56
4 changed files with 5 additions and 3 deletions
|
|
@ -436,6 +436,7 @@ static bool init_resolve_thread(struct Curl_easy *data,
|
|||
int err = ENOMEM;
|
||||
struct Curl_async *async = &data->state.async;
|
||||
|
||||
async->port = port;
|
||||
async->done = FALSE;
|
||||
async->dns = NULL;
|
||||
td->thread_hnd = curl_thread_t_null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue