now printing bad XML data to the log file. my feeling is that this is what is
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 20 Mar 2006 18:05:03 +0000 (18:05 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Mon, 20 Mar 2006 18:05:03 +0000 (18:05 +0000)
causing the "<blah> is not connected to the network" errors... clients will
be disconnected when they receive bad XML

git-svn-id: svn://svn.open-ils.org/ILS/trunk@3399 dcc99617-32d9-48b4-a31d-7c20da2025e4

OpenSRF/src/jserver/osrf_chat.c

index 8981c49..2f82357 100644 (file)
@@ -216,7 +216,7 @@ void osrfChatHandleData( void* cs,
 
        if(node) {
                if( (osrfChatPushData( server, node, data ) == -1) ) {
-                       osrfLogWarning( OSRF_LOG_MARK, "Node at socket %d received bad XML, disconnecting...", sockid );
+                       osrfLogWarning( OSRF_LOG_MARK, "Node at socket %d received bad XML [%s], disconnecting...", sockid, data );
                        osrfChatSendRaw(  node, OSRF_CHAT_PARSE_ERROR );
                        osrfChatRemoveNode( server, node );
                }