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)
|
ByteBuffer Socket::receive(int max_size)
|
||||||
{
|
{
|
||||||
auto buffer = read(max_size);
|
auto buffer = read(max_size);
|
||||||
if (eof()) {
|
if (eof())
|
||||||
dbg() << *this << " connection appears to have closed in receive().";
|
|
||||||
m_connected = false;
|
m_connected = false;
|
||||||
}
|
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user