summaryrefslogtreecommitdiff
path: root/docs/options-in-versions
diff options
context:
space:
mode:
authorJay Satiro <raysatiro@yahoo.com>2021-02-13 02:45:33 -0500
committerJay Satiro <raysatiro@yahoo.com>2021-02-13 23:03:58 -0500
commitb68026f7f4f4f99926fabf7f7b8ec948d5fcdc72 (patch)
treee424fceada5fa1c6ceb610b9de7a8b4bfd656731 /docs/options-in-versions
parent835c2634212257d41c1a30c6cc0ad3ed60bb9aca (diff)
downloadcurl-b68026f7f4f4f99926fabf7f7b8ec948d5fcdc72.tar.gz
hostip: fix crash in sync resolver builds that use DOH
- Guard some Curl_async accesses with USE_CURL_ASYNC instead of !CURLRES_SYNCH. This is another follow-up to 8335c64 which moved the async struct from the connectdata struct into the Curl_easy struct. A previous follow-up 6cd167a fixed building for sync resolver by guarding some async struct accesses with !CURLRES_SYNCH. The problem is since DOH (DNS-over-HTTPS) is available as an asynchronous secondary resolver the async struct may be used even when libcurl is built for the sync resolver. That means that CURLRES_SYNCH and USE_CURL_ASYNC may be defined at the same time. Closes https://github.com/curl/curl/pull/6603
Diffstat (limited to 'docs/options-in-versions')
0 files changed, 0 insertions, 0 deletions