[Mono-list] HttpWebRequest concurrency issues

Dave Curylo curylod at asme.org
Fri Dec 14 13:44:09 UTC 2012


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.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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20121214/77f7c3d4/attachment.html>


More information about the Mono-list mailing list