[Mono-bugs] [Bug 705259] New: WebRequests via ThreadPool fail and hand, single thread does not

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jul 12 16:59:31 EDT 2011


https://bugzilla.novell.com/show_bug.cgi?id=705259

https://bugzilla.novell.com/show_bug.cgi?id=705259#c0


           Summary: WebRequests via ThreadPool fail and hand, single
                    thread does not
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.10.x
          Platform: 64bit
        OS/Version: Ubuntu
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: chmorgan at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=439496)
 --> (http://bugzilla.novell.com/attachment.cgi?id=439496)
Test program

User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML,
like Gecko) Chrome/13.0.782.41 Safari/535.1

Repeated WebRequests via a ThreadPool eventually fail due to request timeouts
(after hundreds) and continue to fail once the first failure happens.

The same requests from a single thread continue indefinitely (10k+ requests).


Reproducible: Always

Steps to Reproduce:
1.Issue WebRequests from ThreadPool via a WaitCallback()
2.See timeout exceptions


Expected Results:  
Continuous WebRequests without timeout exceptions.

Attached a test program that when run with 'pool' will fail after several runs
and when run with 'single' will run indefinitely.

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