[Mono-bugs] [Bug 74592][Maj] Changed - web requests randomly hang

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 14 Apr 2005 16:22:59 -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 james@ximian.com.

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

--- shadow/74592	2005-04-14 16:13:29.000000000 -0400
+++ shadow/74592.tmp.8232	2005-04-14 16:22:59.000000000 -0400
@@ -27,6 +27,12 @@
 ------- Additional Comments From gert.driesen@pandora.be  2005-04-14 16:13 -------
 You need to explicitly close the (Http)WebResponse in Mono.
 
 You need to do this in .NET too, but apparently Mono runs out of 
 connections very fast and appears to hang (even if you use multiple 
 threads).
+
+------- Additional Comments From james@ximian.com  2005-04-14 16:22 -------
+Yeah, after a successful request, I should've closed the response.  I
+still get the hang after closing it there.  If I also close the
+response obtained from WebException.Response, the hang goes away.  I
+shouldn't have to close that, right?  Gonzalo?