mirror of
https://github.com/curl/curl.git
synced 2026-04-15 05:01:42 +03:00
httpsrr: send HTTPS query to the right target
When the target host is on a different port than 443, the name "_[port]._https.[name]" shall be used. Fixes #19301 Reported-by: Gunni on github Closes #19324
This commit is contained in:
parent
6a97bc2c97
commit
8d0bfe74fb
5 changed files with 31 additions and 5 deletions
|
|
@ -152,6 +152,7 @@ void Curl_httpsrr_cleanup(struct Curl_https_rrinfo *rrinfo)
|
|||
Curl_safefree(rrinfo->echconfiglist);
|
||||
Curl_safefree(rrinfo->ipv4hints);
|
||||
Curl_safefree(rrinfo->ipv6hints);
|
||||
Curl_safefree(rrinfo->rrname);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -206,6 +207,7 @@ CURLcode Curl_httpsrr_from_ares(struct Curl_easy *data,
|
|||
}
|
||||
}
|
||||
out:
|
||||
Curl_safefree(hinfo->rrname);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue