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

     
    647647        if ( peer->state == Peer::CLOSING ) 
    648648                return true; 
    649649 
     650        Log(LogInfo, "closing connection", peer); 
     651         
    650652        peer->state = Peer::CLOSING; 
    651653        return SendToChild(MSG_CLOSE, peer, 0); 
    652654        } 
     
    14161418                        return true; 
    14171419 
    14181420                default: 
    1419                         InternalCommError(fmt("unknown msg type %d", 
     1421                        InternalCommError(fmt("unknown msg type %d in Poll()", 
    14201422                                                current_msgtype)); 
    14211423                        return true; 
    14221424                } 
     
    15401542        default: 
    15411543                DEBUG_COMM(fmt("unexpected msg type: %d", 
    15421544                                        int(current_msgtype))); 
    1543                 InternalCommError(fmt("unexpected msg type: %d", 
     1545                InternalCommError(fmt("unexpected msg type in DoMessage(): %d", 
    15441546                                        int(current_msgtype))); 
    15451547                return true; // keep going 
    15461548        } 
     
    21662168 
    21672169        if ( i < 0 ) 
    21682170                { 
     2171                Log(LogError, "unserialization error", current_peer); 
    21692172                CloseConnection(current_peer); 
    21702173                // Error 
    21712174                return false; 
  • CHANGES.features

     
    3333 
    3434  Status: Ready to merge.  
    3535 
     36- Improved logging for the remote serializer.  
     37 
     38  $Revisions: r6499 
     39 
     40  Status: Ready to merge.  
     41 
    3642################ For local use only (not need to merge into trunk). 
    3743 
    3844- Including SVN revision number into version message.