[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 16:28:57 -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=74840
--- shadow/74840 2005-05-05 15:46:21.000000000 -0400
+++ shadow/74840.tmp.31163 2005-05-05 16:28:57.000000000 -0400
@@ -1,14 +1,14 @@
Bug#: 74840
Product: Mono: Class Libraries
Version: 1.1
-OS:
+OS: unknown
OS Details:
Status: NEW
Resolution:
-Severity:
+Severity: Unknown
Priority: Major
Component: CORLIB
AssignedTo: mono-bugs@ximian.com
ReportedBy: joeshaw@novell.com
QAContact: mono-bugs@ximian.com
TargetMilestone: ---
@@ -32,6 +32,27 @@
exceptions on the server side.
------- Additional Comments From joeshaw@novell.com 2005-05-05 15:46 -------
Created an attachment (id=15075)
test case
+
+------- Additional Comments From james@ximian.com 2005-05-05 16:28 -------
+I tested this on the microsoft runtime, and got the following:
+
+Handling connection
+Reading data
+Closing all clients
+All clients closed
+Read 1 bytes
+Reading data
+
+Unhandled Exception: System.ObjectDisposedException: Cannot access a
+disposed ob
+ject named "System.Net.Sockets.TcpClient".
+Object name: "System.Net.Sockets.TcpClient".
+ at System.Net.Sockets.TcpClient.GetStream()
+ at Y.HandleConnection()
+
+
+telnet never died or indicated that the connection was closed after
+the server said it closed the client.