[Mono-bugs] [Bug 603794] New: HttpWebRequest ReadWriteTimeout ignored

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri May 7 11:36:59 EDT 2010



           Summary: HttpWebRequest ReadWriteTimeout ignored
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.6.x
          Platform: x86
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: fcolle at tiscalinet.it
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:
Gecko/2010021718 CentOS/3.0.18-1.el5.centos Firefox/3.0.18

The <i>ReadWriteTimeout</i> property in HttpWebRequest.cs is assigned and
stored internally, but it is never used in the implementation.

When one tries to make a HTTPWebRequest to a remote end having unreliable
connections (like for example pppd), after the call has begun, the timeout
NEVER expires.

Reproducible: Always

Steps to Reproduce:
1. Make a HTTPWebRequest
2. After the POST has begun, drop the connection on the remote end
3. The HTTPWebRequest should generate an exception after the value specified in
the ReadWriteTimeout property, but it does not.
Actual Results:  
The caller is not able to detect when the read-write timeout expires

Expected Results:  
After a value expressed in the ReadWriteTimeout property (milliseconds), a
WebException should be generated.

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