[Mono-bugs] [Bug 70449][Nor] New - Sockets not being removed from the reuse hashtable.
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 firstname.lastname@example.org.
--- 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 @@
+Product: Mono: Class Libraries
+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:
+How often does this happen?