mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 09:09:43 +00:00
RequestServer: Use existing type for buffered UDP socket
This commit is contained in:
parent
4a16c89603
commit
9b8987e34e
Notes:
github-actions[bot]
2024-12-01 10:36:44 +00:00
Author: https://github.com/rmg-x
Commit: 9b8987e34e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2649
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ static NonnullRefPtr<Resolver> default_resolver()
|
||||||
}
|
}
|
||||||
|
|
||||||
return DNS::Resolver::SocketResult {
|
return DNS::Resolver::SocketResult {
|
||||||
MaybeOwned<Core::Socket>(TRY(Core::BufferedSocket<Core::UDPSocket>::create(TRY(Core::UDPSocket::connect(*g_dns_info.server_address))))),
|
MaybeOwned<Core::Socket>(TRY(Core::BufferedUDPSocket::create(TRY(Core::UDPSocket::connect(*g_dns_info.server_address))))),
|
||||||
DNS::Resolver::ConnectionMode::UDP,
|
DNS::Resolver::ConnectionMode::UDP,
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue