Skip to content

Commit

Permalink
less verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
trikko committed Apr 30, 2024
1 parent 8159f4e commit 17f788c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion source/serverino/communicator.d
Expand Up @@ -397,7 +397,15 @@ package class Communicator
if(!wouldHaveBlocked)
{
status = State.READY;
log("Socket error on read. ", lastSocketError);

version(Posix)
{
import core.stdc.errno;
if (errno != 104) log("Socket error on read. ", lastSocketError);
else debug log("Socket error on read. ", lastSocketError);
}
else debug log("Socket error on read. ", lastSocketError);

reset();
}

Expand Down

0 comments on commit 17f788c

Please sign in to comment.