diff --git a/Userland/Libraries/LibProtocol/Request.cpp b/Userland/Libraries/LibProtocol/Request.cpp index 2218418fa7e..13dfd9077a7 100644 --- a/Userland/Libraries/LibProtocol/Request.cpp +++ b/Userland/Libraries/LibProtocol/Request.cpp @@ -140,7 +140,7 @@ void Request::set_up_internal_stream_data(DataReceived on_data_available) do { auto result = m_internal_stream_data->read_stream->read_some({ buffer, buffer_size }); - if (result.is_error() && (!result.error().is_errno() || (result.error().is_errno() && result.error().code() != EINTR))) + if (result.is_error() && (!result.error().is_errno() || (result.error().is_errno() && (result.error().code() != EINTR && result.error().code() != EAGAIN)))) break; if (result.is_error()) continue;