mirror of
https://github.com/curl/curl.git
synced 2026-04-14 23:51:42 +03:00
parent
bc99770217
commit
02113a6307
1 changed files with 2 additions and 1 deletions
|
|
@ -848,6 +848,8 @@ CURLcode Curl_resolv(struct Curl_easy *data,
|
|||
size_t hostname_len;
|
||||
bool keep_negative = TRUE; /* cache a negative result */
|
||||
|
||||
*entry = NULL;
|
||||
|
||||
#ifndef CURL_DISABLE_DOH
|
||||
data->conn->bits.doh = FALSE; /* default is not */
|
||||
#else
|
||||
|
|
@ -969,7 +971,6 @@ out:
|
|||
error:
|
||||
if(dns)
|
||||
Curl_resolv_unlink(data, &dns);
|
||||
*entry = NULL;
|
||||
Curl_async_shutdown(data);
|
||||
if(keep_negative)
|
||||
store_negative_resolve(data, hostname, port);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue