[Mono-bugs] [Bug 74840][Maj] Changed - Blocking Read() does not return if NetworkStream is closed underneath it

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 5 May 2005 15:46:21 -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 joeshaw@novell.com.

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

--- shadow/74840	2005-05-05 15:46:00.000000000 -0400
+++ shadow/74840.tmp.30347	2005-05-05 15:46:21.000000000 -0400
@@ -27,6 +27,11 @@
 on the TcpClient (or UnixClient), which in turn closes the NetworkStream
 underneath it.  Notice on the server side that it does not say "Read 0
 bytes", meaning that the Read() call is still blocking.  Also notice on the
 client side that the connection has not been disconnected.  Type anything
 in on the client side after the connection has been "closed" and you'll see
 exceptions on the server side.
+
+------- Additional Comments From joeshaw@novell.com  2005-05-05 15:46 -------
+Created an attachment (id=15075)
+test case
+