aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Rocard <kevinx.rocard@intel.com>2014-06-05 11:42:32 +0200
committerPhilippe Afonso <philippex.afonso@intel.com>2015-02-18 11:13:27 +0100
commit2f23dba7b1ffbe72979f6c78c3d103b1244f0ead (patch)
tree184eca80a8ed491a27ee25664588d0f184c1e418
parent8ff3e0fed53fb64b27b01ab69acee60fbf4e4013 (diff)
downloadexternal_parameter-framework-2f23dba7b1ffbe72979f6c78c3d103b1244f0ead.zip
external_parameter-framework-2f23dba7b1ffbe72979f6c78c3d103b1244f0ead.tar.gz
external_parameter-framework-2f23dba7b1ffbe72979f6c78c3d103b1244f0ead.tar.bz2
Remove remote process socket connection timeout
From time to time, on Buildbot, the PFW generation build step fails due to remote processor socket connection timeout. In order to avoid deconnection when the peer is slow, this patch removes the remote processor socket connection timeout. Change-Id: I56b5b4b846a7489accd56ba3a3224dc1ffc1085e Tracked-On: https://jira01.devtools.intel.com/browse/IMINAN-5511 Signed-off-by: Kevin Rocard <kevinx.rocard@intel.com> Reviewed-on: https://android.intel.com:443/289012
-rw-r--r--remote-process/main.cpp3
-rw-r--r--remote-processor/RemoteProcessorServer.cpp3
2 files changed, 0 insertions, 6 deletions
diff --git a/remote-process/main.cpp b/remote-process/main.cpp
index bcf825b..97881dc 100644
--- a/remote-process/main.cpp
+++ b/remote-process/main.cpp
@@ -157,9 +157,6 @@ int main(int argc, char *argv[])
// Connect to target
CConnectionSocket connectionSocket;
- // Set timeout
- connectionSocket.setTimeout(5000);
-
string strError;
// Connect
if (!connectionSocket.connect(argv[1], uiPort, strError)) {
diff --git a/remote-processor/RemoteProcessorServer.cpp b/remote-processor/RemoteProcessorServer.cpp
index dff935b..c1d87e5 100644
--- a/remote-processor/RemoteProcessorServer.cpp
+++ b/remote-processor/RemoteProcessorServer.cpp
@@ -157,9 +157,6 @@ void CRemoteProcessorServer::handleNewConnection()
return;
}
- // Set timeout
- clientSocket->setTimeout(5000);
-
// Process all incoming requests from the client
while (true) {