From ae093e2cdc7ccc02be4f3093ae33c724e489f8de Mon Sep 17 00:00:00 2001 From: maroy Date: Tue, 14 Dec 2004 13:02:32 +0000 Subject: [PATCH] now the XML-RPC client closes the connection immediately --- .../schedulerClient/src/SchedulerDaemonXmlRpcClient.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClient.cxx b/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClient.cxx index dfa9f5727..1cc259df6 100644 --- a/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClient.cxx +++ b/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClient.cxx @@ -22,7 +22,7 @@ Author : $Author: maroy $ - Version : $Revision: 1.2 $ + Version : $Revision: 1.3 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/schedulerClient/src/SchedulerDaemonXmlRpcClient.cxx,v $ ------------------------------------------------------------------------------*/ @@ -148,6 +148,8 @@ SchedulerDaemonXmlRpcClient :: getVersion(void) throw () result.reset(new std::string(xmlRpcResult["version"])); } + xmlRpcClient.close(); + return result; } @@ -184,6 +186,8 @@ SchedulerDaemonXmlRpcClient :: getSchedulerTime( } + xmlRpcClient.close(); + return result; }