--- kxmlrpcserver.cpp.orig	2002-03-18 13:43:51.000000000 +0100
+++ kxmlrpcserver.cpp	2003-03-09 18:06:58.000000000 +0100
@@ -29,9 +29,9 @@
     : QObject(),
       m_serverSocket(0),
       m_currentSocket(0),
-      m_incomingXml(""),
-      m_outgoingXml(""),
-      m_server(""),
+      m_incomingXml(QString::null),
+      m_outgoingXml(QString::null),
+      m_server(QString::null),
       m_keepalive(false),
       m_complete(false),
       m_port(_port)
@@ -118,10 +118,10 @@
     else if (m_currentSocket->socket() != _socket->socket())
             return;
 
-    // read in data 1K at a time
-    char buffer[1024];
-    memset(buffer, 0, 1024);
-    if (::read(_socket->socket(), buffer, 1024) == -1)
+    // read in data 4K at a time, 1k was too few
+    char buffer[4096];
+    memset(buffer, 0, 4096);
+    if (::read(_socket->socket(), buffer, 4096) == -1)
     {
         // TODO: i'm really not sure what to do in the case of an
         // error, here.  i'll just return for now...
@@ -400,7 +400,7 @@
     // format a 'normal' reply.  if _type is null, then we don't have
     // any response (a 'void' return, if you will)
     m_outgoingXml  = "<?xml version=\"1.0\"?><methodResponse><params>";
-    if (_type != "")
+    if (!_type.isEmpty() )
     {
         m_outgoingXml += "<param><value><" + _type + ">";
         m_outgoingXml += _value;
