[Mono-bugs] [Bug 74842][Maj] Changed - Stopping a listener doesn't break out of an AcceptSocket() call

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 6 May 2005 04:51:51 -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 gonzalo@ximian.com.

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

--- shadow/74842	2005-05-05 21:32:33.000000000 -0400
+++ shadow/74842.tmp.3685	2005-05-06 04:51:51.000000000 -0400
@@ -1,12 +1,12 @@
 Bug#: 74842
 Product: Mono: Class Libraries
 Version: 1.1
 OS: unknown
 OS Details: 
-Status: NEW   
+Status: ASSIGNED   
 Resolution: 
 Severity: Unknown
 Priority: Major
 Component: CORLIB
 AssignedTo: gonzalo@ximian.com                            
 ReportedBy: joeshaw@novell.com               
@@ -32,6 +32,27 @@
 Created an attachment (id=15076)
 test case
 
 
 ------- Additional Comments From gonzalo@ximian.com  2005-05-05 21:32 -------
 I have to check this on windows.
+
+------- Additional Comments From gonzalo@ximian.com  2005-05-06 04:51 -------
+gonzalo@lalo:/tmp $ mono accept.exe
+Listener started
+Accepted client
+Stopping listener
+Listener stopped
+...and it hangs here
+
+On windows MS runtime I get:
+Listener started
+Accepted client
+Stopping listener
+Listener stopped
+Caught an exception
+(SocketExcepetion -> A blocking operation was interrupted by a call to
+WSACancelBlockingCall)
+
+On windows Mono runtime I get the same but the text of the exception
+is "interrupted"
+