#777 Make EOF as verbose error too.

This commit is contained in:
XMRig 2018-10-09 03:47:39 +07:00
parent 9ef59366ba
commit bdc16df418

View file

@ -931,7 +931,7 @@ void Client::onRead(uv_stream_t *stream, ssize_t nread, const uv_buf_t *buf)
} }
if (nread < 0) { if (nread < 0) {
if (nread != UV_EOF && !client->isQuiet()) { if (!client->isQuiet()) {
LOG_ERR("[%s] read error: \"%s\"", client->m_pool.url(), uv_strerror((int) nread)); LOG_ERR("[%s] read error: \"%s\"", client->m_pool.url(), uv_strerror((int) nread));
} }