mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 19:45:12 +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: https://github.com/LadybirdBrowser/ladybird/commit/9b8987e34e1 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 {
|
||||
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,
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue