From f8673910749dd68c169ed3a5188d85d4e2a00d6a Mon Sep 17 00:00:00 2001 From: S Rahul Date: Wed, 26 Aug 2009 10:53:44 +0000 Subject: [PATCH] Bug#524423: Increase the maximum time that the ATS client waits for the ATS server to respond from 30 seconds to 120 seconds. --- CASA-auth-token/client/library/windows/rpc.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CASA-auth-token/client/library/windows/rpc.c b/CASA-auth-token/client/library/windows/rpc.c index 38c50436..b1e14879 100644 --- a/CASA-auth-token/client/library/windows/rpc.c +++ b/CASA-auth-token/client/library/windows/rpc.c @@ -440,6 +440,11 @@ InternalRpc( } } + // Increase the timeout. Bug#524423 + if (!WinHttpSetTimeouts(hRequest, 0, 60000, 30000, 120000)) { + DbgTrace(0, "-InternalRpc- WinHttpSetTimeouts() failed\n", 0); + } + // Send the request securityFailureStatusFlags = 0; if (WinHttpSendRequest(hRequest,