now printing bad XML data to the log file. my feeling is that this is what is
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 20 Mar 2006 18:05:03 +0000 (18:05 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
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/OpenSRF/trunk@666 9efc2488-bf62-4759-914b-345cdb29e865

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 );
                }