Ticket #36: patch.remote-logging.r6499.diff
| File patch.remote-logging.r6499.diff, 1.5 KB (added by robin, 3 years ago) |
|---|
-
src/RemoteSerializer.cc
647 647 if ( peer->state == Peer::CLOSING ) 648 648 return true; 649 649 650 Log(LogInfo, "closing connection", peer); 651 650 652 peer->state = Peer::CLOSING; 651 653 return SendToChild(MSG_CLOSE, peer, 0); 652 654 } … … 1416 1418 return true; 1417 1419 1418 1420 default: 1419 InternalCommError(fmt("unknown msg type %d ",1421 InternalCommError(fmt("unknown msg type %d in Poll()", 1420 1422 current_msgtype)); 1421 1423 return true; 1422 1424 } … … 1540 1542 default: 1541 1543 DEBUG_COMM(fmt("unexpected msg type: %d", 1542 1544 int(current_msgtype))); 1543 InternalCommError(fmt("unexpected msg type : %d",1545 InternalCommError(fmt("unexpected msg type in DoMessage(): %d", 1544 1546 int(current_msgtype))); 1545 1547 return true; // keep going 1546 1548 } … … 2166 2168 2167 2169 if ( i < 0 ) 2168 2170 { 2171 Log(LogError, "unserialization error", current_peer); 2169 2172 CloseConnection(current_peer); 2170 2173 // Error 2171 2174 return false; -
CHANGES.features
33 33 34 34 Status: Ready to merge. 35 35 36 - Improved logging for the remote serializer. 37 38 $Revisions: r6499 39 40 Status: Ready to merge. 41 36 42 ################ For local use only (not need to merge into trunk). 37 43 38 44 - Including SVN revision number into version message.