[Mono-bugs] [Bug 515097] New: HttpWebRequest.Abort does not cancel pending BeginWrite operation

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jun 22 03:39:04 EDT 2009


           Summary: HttpWebRequest.Abort does not cancel pending
                    BeginWrite operation
    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=299454)
 --> (http://bugzilla.novell.com/attachment.cgi?id=299454)

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

HttpWebRequest.Abort does not seem to cancel any pending write operations on
the request stream. This is different from the behavior in the .NET FX. This
prevents us from canceling any pending async I/O in the event of a timeout.

Reproducible: Always

Steps to Reproduce:
1. Compile and run the attached sample.
2. Run it. 

Actual Results:  
No ObjectDisposedException is thrown. Program hangs.

Expected Results:  
ObjectDisposedException is thrown on the call to EndWrite.

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