mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 17:19:13 +00:00
LibDNS: Ensure non-blocking socket is used for TCP connections
This commit is contained in:
parent
7d692711cb
commit
85d46a71d9
Notes:
github-actions[bot]
2025-02-22 17:41:20 +00:00
Author: https://github.com/devgianlu
Commit: 85d46a71d9
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3669
Reviewed-by: https://github.com/alimpfard ✅
3 changed files with 35 additions and 29 deletions
|
@ -55,6 +55,8 @@ static NonnullRefPtr<Resolver> default_resolver()
|
|||
|
||||
if (g_dns_info.use_dns_over_tls) {
|
||||
TLS::Options options;
|
||||
options.set_blocking(false);
|
||||
|
||||
if (!g_default_certificate_path.is_empty())
|
||||
options.set_root_certificates_path(g_default_certificate_path);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue