File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -254,12 +254,12 @@ void TcpConnectionImpl::handleError()
254
254
int err = _socketPtr->getSocketError ();
255
255
if (err == 0 )
256
256
return ;
257
- if (err ! = 104 )
258
- LOG_ERROR << " TcpConnectionImpl::handleError [" << _name
259
- << " ] - SO_ERROR = " << err << " " << strerror_tl (err);
257
+ if (err == EPIPE || err == ECONNRESET || err = = 104 )
258
+ LOG_DEBUG << " [" << _name << " ] - SO_ERROR = " << err << " "
259
+ << strerror_tl (err);
260
260
else
261
- LOG_INFO << " TcpConnectionImpl::handleError [" << _name
262
- << " ] - SO_ERROR = " << err << " " << strerror_tl (err);
261
+ LOG_ERROR << " [" << _name << " ] - SO_ERROR = " << err << " "
262
+ << strerror_tl (err);
263
263
}
264
264
void TcpConnectionImpl::setTcpNoDelay (bool on)
265
265
{
You can’t perform that action at this time.
0 commit comments