Module: sems
Branch: master
Commit: 312d8c9010279ba931a99cf660bba4a6a1da6f8d
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=312d8c9010279ba931a99cf660bba4a6a1da6f8d

Author: Stefan Sayer <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Tue Jul 20 22:29:44 2010 +0200

xmlrpc2di: write whole response if > buffer length

---

 .../xmlrpc++/src/XmlRpcServerConnection.cpp        |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/apps/xmlrpc2di/xmlrpc++/src/XmlRpcServerConnection.cpp 
b/apps/xmlrpc2di/xmlrpc++/src/XmlRpcServerConnection.cpp
index 313d05a..0698ad4 100644
--- a/apps/xmlrpc2di/xmlrpc++/src/XmlRpcServerConnection.cpp
+++ b/apps/xmlrpc2di/xmlrpc++/src/XmlRpcServerConnection.cpp
@@ -194,6 +194,8 @@ XmlRpcServerConnection::writeResponse()
     _request = "";
     _response = "";
     _connectionState = READ_HEADER;
+  } else {
+    return true; // not whole reponse written - continue in WRITE_RESPONSE 
state
   }
 
   return _keepAlive;    // Continue monitoring this source if true

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to