[Mono-bugs] [Bug 70477][Nor] New - mkbundle --deps, resulting binary hangs on WebRequest.GetResponse()

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 11 Dec 2004 19:03:00 -0500 (EST)


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 jon@nanocrew.net.

http://bugzilla.ximian.com/show_bug.cgi?id=70477

--- shadow/70477	2004-12-11 19:03:00.000000000 -0500
+++ shadow/70477.tmp.20846	2004-12-11 19:03:00.000000000 -0500
@@ -0,0 +1,30 @@
+Bug#: 70477
+Product: Mono: Tools
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: tools
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jon@nanocrew.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: mkbundle --deps, resulting binary hangs on WebRequest.GetResponse()
+
+The following code hangs on req.GetResponse() when the code is bundled with
+mkbundle --deps. The hang does not occur when bundled with --nodeps.
+
+using System.Net;
+
+public class TestCase {
+    public static void Main(string[] args) {
+        HttpWebRequest req = (HttpWebRequest)WebRequest.Create(
+"http://www.mono-project.com" );
+        HttpWebResponse res = (HttpWebResponse)req.GetResponse();
+    }
+}