File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ void Client::disconnect_and_trigger_close()
221221void Client::on_network_error (int error)
222222{
223223 if (error == 0 )
224- log_debug (" %s: EOF (state %i)" , client_id (), m_state.load ());
224+ log_debug (" %s: peer disconnected (state %i)" , client_id (), m_state.load ());
225225 else
226226 log_debug (" %s: network error %i (state %i)" , client_id (), error, m_state.load ());
227227 if (m_close_reason == Not_closing && m_state != Client_closing && error != 0 )
@@ -453,7 +453,7 @@ Request_unique_ptr Client::read_one_message(Error_code &ret_error)
453453 nread = m_connection->read (&msgbuffer[0 ], msg_size-1 );
454454 if (nread == 0 ) // EOF
455455 {
456- log_info (" %s: EOF reading message body" , client_id ());
456+ log_info (" %s: peer disconnected while reading message body" , client_id ());
457457 on_network_error (0 );
458458 return Request_unique_ptr ();
459459 }
You can’t perform that action at this time.
0 commit comments