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
Notes:
sideshowbarker
2024-07-19 00:39:31 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/5f182746b6d
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)
|
||||
{
|
||||
auto buffer = read(max_size);
|
||||
if (eof()) {
|
||||
dbg() << *this << " connection appears to have closed in receive().";
|
||||
if (eof())
|
||||
m_connected = false;
|
||||
}
|
||||
return buffer;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue