[Mono-list] HttpWebRequest concurrency issues

Daniel Lo Nigro lists at dan.cx
Fri Dec 14 14:17:21 UTC 2012

You should try the same code in Mono 3.0.x to see if the bug has been fixed.

You can try out the Parallel Mono packages for Debian, they should work on
Ubuntu: http://inorton.wordpress.com/pmono-parallel-mono-debian-pacakges/
Otherwise, it's pretty easy to build from source. Feel free to ask if you
don't know how to do this :)

On Sat, Dec 15, 2012 at 12:44 AM, Dave Curylo <curylod at asme.org> wrote:

> I'm running mono on Ubuntu 12.04.
> I'm sending multiple HttpWebRequests to the same server and getting a
> timeout error, and also seeing that only one connection is made to the
> server at a time.  Under Windows, the same code sends multiple concurrent
> web requests, so this seems to be specific to mono.  I've attempted setting
> the connection limits by increasing System.Net.ServicePointManager.DefaultConnectionLimit
> and also by configuration, such as
> <configuration>
>  <system.net>
>   <connectionManagement>
>    <add address="*" maxconnection="100" />
>   </connectionManagement>
>  </system.net> </configuration>
> Neither seem to have any effect.  I suspect this is related to this bug:
> https://bugzilla.xamarin.com/show_bug.cgi?id=7002
> How do I tell if the version of Mono I am running contains this fix?  If
> it doesn't, what is the best way to obtain such a fix?  Are they
> distributed through Ubuntu repositories or do I need to build from source?
> Thanks.
> _______________________________________________
> 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/20121215/b928c561/attachment-0001.html>

More information about the Mono-list mailing list