[Mono-list] Issues with concurrent HttpWebRequests

EStar e.h.code at outlook.com
Fri Aug 21 18:07:02 UTC 2015


I'm trying to run several HttpWebRequests in parallel and have been having an
issue where the more requests I try to run in parallel, the longer each
request seems to take.  The requests take noticeably longer in parallel than
they do serially. 

Using profiling I'm seeing the requests block on GetRequestStream.  

Is there some known issue here? Am I missing some setting other than
ServicePointManager.DefaultConnectionLimit that helps run more web requests
in parallel? Is there something I can do to help resolve this? I saw bug
14644 but it has been open without progress for a year.

I have tried this in mono 3.12 linux and 4.0.2 mac 

Repro:  Program.txt
<http://mono.1490590.n4.nabble.com/file/n4666517/Program.txt>  





--
View this message in context: http://mono.1490590.n4.nabble.com/Issues-with-concurrent-HttpWebRequests-tp4666517.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list