[Mono-bugs] [Bug 80017][Nor] Changed - HTTP chunked encoding not working
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Aug 13 07:48:22 EDT 2007
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 stevenspencer01 at gmail.com.
http://bugzilla.ximian.com/show_bug.cgi?id=80017
--- shadow/80017 2007-08-13 07:32:40.000000000 -0400
+++ shadow/80017.tmp.31035 2007-08-13 07:48:22.000000000 -0400
@@ -158,6 +158,25 @@
process has finished, the host IP stack will then just abort any
relevant outstanding TCP connections - I'm just hypothesising here.
I'll modify my test to see if this is an issue and get back to you.
Steven
+
+------- Additional Comments From stevenspencer01 at gmail.com 2007-08-13 07:48 -------
+Actually, thinking about this, my comments about the process exiting
+before the connection is closed are probably wrong.
+
+The test code for the client (line 32 & 33) reads data back from the
+stream until it reads back 0 bytes - signifying that the connection is
+closed. It this correct? I am going on the assumption that the
+semantics for the stream returned by the GetResponseStream() function
+follow those of the lower level recv() function i.e. if the read
+returns with 0 bytes being read it means the connection has been closed.
+
+If this is correct, the TCP RST must have been sent before the
+application exits, so I have not idea why this would be the case.
+Also, if the client side does send a TCP RST on closing (or at any
+time), should this be reported to the application layer via some sort
+of exception?
+
+Steven
More information about the mono-bugs
mailing list