[Mono-bugs] [Bug 60801][Maj] Changed - Adding a call to System.Net.ServicePointManager.DefaultConnectionLimit kills any application!
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Sun, 27 Jun 2004 14:22:46 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by casolorz@sbcglobal.net.
http://bugzilla.ximian.com/show_bug.cgi?id=60801
--- shadow/60801 2004-06-27 03:02:56.000000000 -0400
+++ shadow/60801.tmp.2019 2004-06-27 14:22:46.000000000 -0400
@@ -159,6 +159,39 @@
------- Additional Comments From duncan@ximian.com 2004-06-27 03:02 -------
Can you provide the source of this test case?
Also, how did you install Mono? I see that there's an assembly
reference error in your posting for System.dll. That looks fishy to me.
+
+------- Additional Comments From casolorz@sbcglobal.net 2004-06-27 14:22 -------
+This is one of the tests I did, maybe not the one I copy pasted the
+error from, but it does give an error. There is a chance that this has
+to do with the way we installed mono, actually I didnt install it, so
+I will have to get back to you on that. However running a simple hello
+world that doesnt contain the
+System.Net.ServicePointManager.DefaultConnectionLimit does work just fine.
+
+using System;
+
+namespace ConsoleApplication1
+{
+ /// <summary>
+ /// Summary description for Class1.
+ /// </summary>
+ class Class1
+ {
+ /// <summary>
+ /// The main entry point for the application.
+ /// </summary>
+ [STAThread]
+ static void Main(string[] args)
+
+ {
+ Console.WriteLine("runningsigned1");
+ System.Net.ServicePointManager.DefaultConnectionLimit = 10;
+ Console.WriteLine("runningsigned");
+ System.Net.ServicePointManager.DefaultConnectionLimit = 10;
+ }
+ }
+}
+