[Mono-bugs] [Bug 428683] New: Multiple simultaneous requests using HttpWebRequest fail

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Sep 22 17:14:25 EDT 2008


           Summary: Multiple simultaneous requests using HttpWebRequest fail
           Product: Mono: Class Libraries
           Version: 2.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: amacbeth at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---

Created an attachment (id=240996)
 --> (https://bugzilla.novell.com/attachment.cgi?id=240996)
Test Case

When using multiple HttpWebRequest to perform requests in parallel, the
requests fail. This was accomplished using ThreadPool.QueueUserWorkItem to
create a large number (greater than 24) requests operating at once.

Found in Mono version 2.0 and 1.9.1 on Windows and Linux.


The attached test case demonstrates the problem. 

Actual Results:

System.Net.WebException: The request timed out
  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult)
  at System.Net.HttpWebRequest.GetResponse () [0x00000]
  at Test.Program.DoGet () [0x00000]
(Repeated 30 times)

Expected Results (observed with .NET 3.5 on Windows Vista):


Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list