[Mono-bugs] [Bug 80098][Nor] Changed - WebException receiving from in process listener
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Fri Dec 1 16:57:37 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 gonzalo at ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80098
--- shadow/80098 2006-12-01 16:56:13.000000000 -0500
+++ shadow/80098.tmp.1180 2006-12-01 16:57:37.000000000 -0500
@@ -55,6 +55,11 @@
------- Additional Comments From gonzalo at ximian.com 2006-12-01 16:56 -------
The problem is that you close the socket without letting the OS time
for sending the data. So the client gets a RST and hence the error
that you get on windows. Why it works on linux? Linux is better? :-)
See the code in xsp/src/Mono.WebServer/LingeringNetworkStream.cs
+
+------- Additional Comments From gonzalo at ximian.com 2006-12-01 16:57 -------
+forgot to mention: if you add a Thread.Sleep before closing the socket
+(I used 1000ms, but it will probably work with anything >= 50ms) it
+will work
More information about the mono-bugs
mailing list