[Mono-bugs] [Bug 80098][Nor] New - WebException receiving from in process listener

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Thu Nov 30 08:53:54 EST 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 gert.driesen at pandora.be.

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

--- shadow/80098	2006-11-30 08:53:54.000000000 -0500
+++ shadow/80098.tmp.29556	2006-11-30 08:53:54.000000000 -0500
@@ -0,0 +1,48 @@
+Bug#: 80098
+Product: Mono: Class Libraries
+Version: 1.2
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs at ximian.com                            
+ReportedBy: gert.driesen at pandora.be               
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: WebException receiving from in process listener
+
+As part of bug #79988, I created a repro that uses an in-process 
+HttpListener. The repro works just fine on Linux, but hangs on (Mono) 
+Windows (built from SVN).
+
+When I removed all web service specific code, and replaced it by a 
+HttpWebRequest the program no longer hangs, but I get the following 
+exception:
+
+Unhandled Exception: System.Net.WebException: Error getting response 
+stream (ReadDone1): ReceiveFailure ---> System.IO.IOException: EndRead 
+failure ---> System.Net.Sockets.SocketException: An established 
+connection was aborted in your host machine.
+  at 
+System.Net.Sockets.Socket+SocketAsyncResult.CheckIfThrowDelayedException 
+()
+ [0x00000]
+  at System.Net.Sockets.Socket.EndReceive (IAsyncResult result) [0x00000]
+  at System.Net.Sockets.NetworkStream.EndRead (IAsyncResult ar) 
+[0x00000] --- End of inner exception stack trace ---
+
+  at System.Net.Sockets.NetworkStream.EndRead (IAsyncResult ar) [0x00000]
+  at System.Net.WebConnection.ReadDone (IAsyncResult result) [0x00000] ---
+ End of inner exception stack trace ---
+
+  at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult) 
+[0x00000]
+  at System.Net.HttpWebRequest.GetResponse () [0x00000]
+  at Test.Main (System.String[] args) [0x00000]
+
+To reproduce, compile and run the attached code snippet on Mono/Windows.


More information about the mono-bugs mailing list