1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 21:27:45 +00:00

LookupServer: Be a little more robust in case accept() fails

This commit is contained in:
Andreas Kling 2021-01-30 11:55:21 +01:00
parent 5cbc9d5724
commit 489d413fc7
2 changed files with 6 additions and 4 deletions

View file

@ -40,7 +40,7 @@ private:
LookupServer();
void load_etc_hosts();
void service_client(RefPtr<Core::LocalSocket>);
void service_client(NonnullRefPtr<Core::LocalSocket>);
Vector<String> lookup(const String& hostname, const String& nameserver, bool& did_get_response, unsigned short record_type, ShouldRandomizeCase = ShouldRandomizeCase::Yes);
struct CachedLookup {