[Mono-list] HttpWebRequest concurrency issues
Ian Norton
ian.norton-badrul at thales-esecurity.com
Fri Dec 14 15:29:20 UTC 2012
You can try both at the same time, pmono shouldnt damage your existing mono
installation, a word of caution though.
Strange things will happen if you use apt to install any cil packages while in
the pmono shell.
On Fri, Dec 14, 2012 at 03:24:53PM +0000, Andres G. Aragoneses wrote:
>
> Another alternative to "Parallel Mono" is the Debian preview packages:
>
> https://www.meebey.net/posts/mono_3.0_preview_debian_ubuntu_packages/
>
>
> On 14/12/12 14:17, Daniel Lo Nigro wrote:
> > 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
> > <mailto:curylod at asme.org>> wrote:
> >
> > I'm running mono 2.10.8.1 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
> > <http://System.Net>.ServicePointManager.DefaultConnectionLimit and
> > also by configuration, such as
> >
> > |<configuration>
> > <system.net <http://system.net>>
> > <connectionManagement>
> > <add address="*" maxconnection="100" />
> > </connectionManagement>
> > </system.net <http://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
> > <mailto:Mono-list at lists.ximian.com>
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> >
> >
> >
> > _______________________________________________
> > Mono-list maillist - Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
>
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
More information about the Mono-list
mailing list