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,