adi - 2005-03-09

Hi,

I am trying to retrieve a number of objects from my server (that queries a database)  to the client that requests the query. When the data to be encoded on the server side (from objects -> to XML) gets close to 1Mbs, I get a write() failure in the XmlRpcSocket::nbWrite(). Here is the logged info:

If the XMLRPC DEBUG level is set to 0 (default) . This is the error returned

XmlRpcServerConnection::writeResponse: write error (error 9).

if the debug level is set to a number greater than 1 this is the error returned

XmlRpcServer::work: waiting for a connection
XmlRpcServer::work: waiting for a connection
XmlRpcSocket::nbWrite: send/write returned 98304.
XmlRpcSocket::nbWrite: send/write returned 98304.
XmlRpcSocket::nbWrite: send/write returned 98304.
XmlRpcSocket::nbWrite: send/write returned 98304.
XmlRpcServer::work: waiting for a connection
XmlRpcSocket::nbWrite: send/write returned 98304.
XmlRpcSocket::nbWrite: send/write returned -1.
XmlRpcServerConnection::writeResponse: write error (error 9).
XmlRpcSource::close: closing socket 12.
XmlRpcSocket::close: fd 12.
XmlRpcSource::close: done closing socket 12.
XmlRpcSource::close: deleting this
XmlRpcServerConnection dtor.
WorkerThread::SERVER_EXECUTE_EVENT: calling dispather.clear