[Mono-list] Issues with concurrent HttpWebRequests

Gonzalo Paniagua Javier gonzalo.mono at gmail.com
Sat Aug 22 06:41:59 UTC 2015

If the requests are going to the same host, you need to raise the limits in
system.net/connectionManagement (


On Fri, Aug 21, 2015 at 11:07 AM, EStar <e.h.code at outlook.com> wrote:

> 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.
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20150821/f9366357/attachment.html>

More information about the Mono-list mailing list