[Mono-bugs] [Bug 680721] New: On Windows HttpWebRequest.GetResponse() times out when executed in a timer

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Mar 17 20:19:36 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=680721

https://bugzilla.novell.com/show_bug.cgi?id=680721#c0


           Summary: On Windows HttpWebRequest.GetResponse() times out when
                    executed in a timer
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: i686
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: io-layer
        AssignedTo: lupus at novell.com
        ReportedBy: bill.seddon at lyquidity.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152;
NET CLR 3.5.30729; InfoPath.2)

When the attached application is run on Windows (I've tried Windows XP and
Windows 7) I see the results shown in Actual Results.

The test app creates an HttpWebRequest on the main thread and it works.  Then a
timer is started and a new HttpWebRequest is created each tick.  The first
instance completes successfully.  However all subsequent attempts to call
GetResponse() result in a timeout error.

The same example when compiled and run using Mono 2.6.7 on Ubuntu does not
exhibit this problem.

Reproducible: Always

Steps to Reproduce:
1.Compile the test program using 2.6.7 or 2.8
2.Run it on Windows
Actual Results:  
I see output like:

Accessing the web site 1
Accessing the web site 2
Starting the timer
Accessing the web site 2
Error accessing the web site
The operation has timed out
Starting the timer

Expected Results:  
Accessing the web site 1
Accessing the web site 2
Starting the timer
Accessing the web site 2
Starting the timer
etc..

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


More information about the mono-bugs mailing list