mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibCore: Stop logging that a Core::Socket has disconnected in receive()
This is perfectly normal and nothing we need to inform about.
This commit is contained in:
@@ -184,10 +184,8 @@ bool Socket::common_connect(const struct sockaddr* addr, socklen_t addrlen)
|
||||
ByteBuffer Socket::receive(int max_size)
|
||||
{
|
||||
auto buffer = read(max_size);
|
||||
if (eof()) {
|
||||
dbg() << *this << " connection appears to have closed in receive().";
|
||||
if (eof())
|
||||
m_connected = false;
|
||||
}
|
||||
return buffer;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user