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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 10 Dec 2004 20:51:49 -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.


--- shadow/70449	2004-12-10 19:17:24.000000000 -0500
+++ shadow/70449.tmp.12133	2004-12-10 20:51:49.000000000 -0500
@@ -58,6 +58,13 @@
 ------- Additional Comments From juraj@hotfeet.ch  2004-12-10 19:17 -------
 I attached a bug fix. I think using something along the lines of
 (int)AddressFamily+(int)SocketType+(int)ProtocolType as hashcode will
 cause many collisions, so I just let Socket use Object.GetHashCode.
 May I commit?
+------- Additional Comments From mlasky@novell.com  2004-12-10 20:51 -------
+The patch for Linux is great in my opinion, I noticed that socket 
+handles were getting reused after the socket was closed but before 
+the Socket object was garbage collected. 
+This still needs to be addressed for Windows.