From 61dd04376d1e285b67146679980839b715286982 Mon Sep 17 00:00:00 2001 From: Jonathan Pryor Date: Thu, 25 Oct 2012 11:27:26 -0400 Subject: [PATCH] Revert "Increased waiting time for the certificate authentication from 100 ms to 1000 ms. Because it was not enough for some kind of requests." This reverts commit 592cdb463ba89cef6943962df5409177710d62d9. This isn't required for Syscall.getgrouplist(), and should be part of a separate pull request. --- mcs/class/System/System.Net/HttpListenerRequest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mcs/class/System/System.Net/HttpListenerRequest.cs b/mcs/class/System/System.Net/HttpListenerRequest.cs index 92866e6485c..efa4f56acb9 100644 --- a/mcs/class/System/System.Net/HttpListenerRequest.cs +++ b/mcs/class/System/System.Net/HttpListenerRequest.cs @@ -319,7 +319,7 @@ namespace System.Net { // TODO: test if MS has a timeout when doing this try { IAsyncResult ares = InputStream.BeginRead (bytes, 0, length, null, null); - if (!ares.IsCompleted && !ares.AsyncWaitHandle.WaitOne (1000)) + if (!ares.IsCompleted && !ares.AsyncWaitHandle.WaitOne (100)) return false; if (InputStream.EndRead (ares) <= 0) return true; -- 2.25.1