[Mono-bugs] [Bug 514996] New: HttpWebRequest: Connection not closed on error in WebConnectionStream.Close

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jun 20 09:09:06 EDT 2009


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


           Summary: HttpWebRequest: Connection not closed on error in
                    WebConnectionStream.Close
    Classification: Mono
           Product: Mono: Class Libraries
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: gert.driesen at pandora.be
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


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

User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR
3.0.04506.30; .NET CLR 3.0.04506.590; .NET CLR 3.0.04506.648; .NET CLR
3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

When an error condition is discovered in WebConnectionStream.Close (not all
bytes are written), then a WebException is thrown but the connection itself is
not closed which can block subsequent requests.



Reproducible: Always

Steps to Reproduce:
Compile and run the attached source code.
Actual Results:  
Blocks during the first run.

Expected Results:  
Completes successfully.

-- 
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