[Mono-bugs] [Bug 515100] New: HttpWebRequest: BeginWrite does not throw after Abort()

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jun 22 03:51:08 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=515100


           Summary: HttpWebRequest: BeginWrite does not throw after
                    Abort()
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: bassam at symform.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=299455)
 --> (http://bugzilla.novell.com/attachment.cgi?id=299455)
Repro

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.11)
Gecko/2009060215 Firefox/3.0.11 (.NET CLR 3.5.30729)

BeginWrite on the Stream returned from GetRequestStream does not throw if the
request has been aborted.

Reproducible: Always

Steps to Reproduce:
1. Compile the program attached
2. Run it.
3.
Actual Results:  
The call to BeginWrite succeeds. 

Expected Results:  
WebException to be thrown with Status set to RequestCancelled.

I've not verified but this might also apply to BeginRead on the response
stream.

-- 
Configure bugmail: http://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