[Mono-bugs] [Bug 70449][Nor] New - Sockets not being removed from the reuse hashtable.

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 10 Dec 2004 17:44:22 -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 mlasky@novell.com.

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

--- shadow/70449	2004-12-10 17:44:22.000000000 -0500
+++ shadow/70449.tmp.9620	2004-12-10 17:44:22.000000000 -0500
@@ -0,0 +1,45 @@
+Bug#: 70449
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Sys.Web
+AssignedTo: gonzalo@ximian.com                            
+ReportedBy: mlasky@novell.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Sockets not being removed from the reuse hashtable.
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+When attempting to remove the socket from the re-use hashtable (in 
+ApplicationServer.cs) after it has been closed, the hashcode in the 
+Socket object is set to -1 and the socket cannot be found and is not 
+removed from the table. This is causing a memory leak on windows.
+
+It seems like a bug in Windows to change the hashcode of the Socket 
+object after it is closed, but something else will need to be the key in 
+the re-use hashtable so we don't leak memory on windows.
+
+Steps to reproduce the problem:
+1. 
+2. 
+3. 
+
+Actual Results:
+
+
+Expected Results:
+
+
+How often does this happen? 
+
+
+Additional Information: