From kde-commits Thu Jul 31 22:54:23 2008 From: Will Stephenson Date: Thu, 31 Jul 2008 22:54:23 +0000 To: kde-commits Subject: KDE/kdepim/kresources/groupwise/soap Message-Id: <1217544863.666018.17468.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=121754488432201 SVN commit 840364 by wstephens: Start with the keepalive support. This will make Groupwise operations much faster. M +3 -3 groupwiseserver.cpp --- trunk/KDE/kdepim/kresources/groupwise/soap/groupwiseserver.cpp #840363:840364 @@ -107,7 +107,7 @@ int GroupwiseServer::gSoapOpen( struct soap *soap, const char *, const char *host, int port ) { - kDebug() <<"GroupwiseServer::gSoapOpen()"; + //kDebug(); if ( m_sock ) { kError() <<"m_sock non-null:" << (void*)m_sock; @@ -173,7 +173,7 @@ int GroupwiseServer::gSoapSendCallback( struct soap * soap, const char *s, size_t n ) { - kDebug() <<"GroupwiseServer::gSoapSendCallback()"; + //kDebug(); if ( !m_sock ) { kError() << "no socket!"; @@ -276,7 +276,7 @@ kDebug() <<"GroupwiseServer(): URL:" << url; - soap_init( mSoap ); + soap_init2( mSoap, SOAP_IO_KEEPALIVE, SOAP_IO_KEEPALIVE ); #if 1 // disable this block to use native gSOAP network functions