diff options
Diffstat (limited to 'Userland/Services/WebServer')
-rw-r--r-- | Userland/Services/WebServer/Client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/WebServer/Client.cpp b/Userland/Services/WebServer/Client.cpp index bdde301e5d..49462bba66 100644 --- a/Userland/Services/WebServer/Client.cpp +++ b/Userland/Services/WebServer/Client.cpp @@ -41,7 +41,7 @@ void Client::start() { m_socket->on_ready_to_read = [this] { auto raw_request = m_socket->read_all(); - if (raw_request.is_null()) { + if (raw_request.is_empty()) { die(); return; } |