Revert "Increased waiting time for the certificate authentication from 100 ms to...
authorJonathan Pryor <jonpryor@vt.edu>
Thu, 25 Oct 2012 15:27:26 +0000 (11:27 -0400)
committerJonathan Pryor <jonpryor@vt.edu>
Thu, 25 Oct 2012 15:27:26 +0000 (11:27 -0400)
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

index 92866e6485c0193f9da233f68ffbe69ed0e36de5..efa4f56acb9cc5d6ffbd951d6862fa57c1121c74 100644 (file)
@@ -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;