mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibDNS: Ensure non-blocking socket is used for TCP connections
This commit is contained in:
committed by
Ali Mohammad Pur
parent
7d692711cb
commit
85d46a71d9
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user