[Mono-bugs] [Bug 79361][Wis] Changed - [XSP] Exception when stoping Mono.WebServer.ApplicationServer

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Mon Sep 11 15:04:35 EDT 2006


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 at ximian.com.

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

--- shadow/79361	2006-09-11 14:33:53.000000000 -0400
+++ shadow/79361.tmp.31486	2006-09-11 15:04:35.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 79361
 Product: Mono: Tools
 Version: 1.1
-OS: 
+OS: unknown
 OS Details: XP SP2 / Visual Studio 2005
-Status: NEW   
+Status: ASSIGNED   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
 Component: XSP
 AssignedTo: gonzalo at ximian.com                            
 ReportedBy: jfburdet at humanweb.ch               
 QAContact: mono-bugs at ximian.com
 TargetMilestone: ---
@@ -58,6 +58,27 @@
 			accepted.Blocking = true;
 			SetSocketOptions (accepted);
 			StartRequest (accepted, 0);
 		}
 
 Since I'm not an expert, this should be confirmed by a Mono dev.
+
+------- Additional Comments From gonzalo at ximian.com  2006-09-11 15:04 -------
+Can you try with this change instead?
+
+Index: ApplicationServer.cs
+===================================================================
+--- ApplicationServer.cs        (revision 64953)
++++ ApplicationServer.cs        (working copy)
+@@ -329,7 +329,8 @@
+                                accepted = listen_socket.EndAccept (ares);
+                        } catch {
+                        } finally {
+-                               listen_socket.BeginAccept (accept_cb,
+null);
++                               if (started)
++                                       listen_socket.BeginAccept
+(accept_cb, null);
+                        }
+
+                        if (accepted == null)
+


More information about the mono-bugs mailing list