[Mono-bugs] [Bug 552472] New: Custom WebClient implementation with Timeout does not time out

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 4 06:52:07 EST 2009


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


           Summary: Custom WebClient implementation with Timeout does not
                    time out
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: christian.weyer at thinktecture.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=325489)
 --> (http://bugzilla.novell.com/attachment.cgi?id=325489)
Demo MD SLN to repro bug

Description of Problem:
A custom WebClient class which sets the timeout value of the inner
HttpWebRequest does not really timeout when used. The same code works on the
NET Fx.

Steps to reproduce the problem:
1. Use the attached demo project.
2. HTTP call should timeout after 2 seconds, but times out after the default 60
secs only
(you would need to use a URL which actually will time out...!)

Actual Results:
TImes out after 60 secs

Expected Results:
Should timeout after 2 secs

How often does this happen? 
Always.

Additional Information:
-

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