mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 05:48:12 +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:
parent
5f58fe1643
commit
5f182746b6
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue