mirror of
https://github.com/curl/curl.git
synced 2026-07-26 00:07:17 +03:00
asyn-thrdd: fix result processing without wakeup socketpair
When building curl 8.20.0 with socketpair disabled, there is no wakeup socket and the resolve results are not processed. This fix performs result processing in the absence of a wakeup socket before checking the resolve result. Closes #21476
This commit is contained in:
parent
d0717acaf0
commit
c29278cc83
1 changed files with 3 additions and 0 deletions
|
|
@ -701,6 +701,9 @@ CURLcode Curl_async_take_result(struct Curl_easy *data,
|
|||
if(thrdd->rr.channel)
|
||||
(void)Curl_ares_perform(thrdd->rr.channel, 0);
|
||||
#endif
|
||||
#ifndef ENABLE_WAKEUP
|
||||
Curl_async_thrdd_multi_process(data->multi);
|
||||
#endif
|
||||
|
||||
if(!async->done)
|
||||
return CURLE_AGAIN;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue