[Mono-bugs] [Bug 423156] web requests fail if the response stream is not closed

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Oct 23 15:16:00 EDT 2008


User gonzalo at novell.com added comment

Gonzalo Paniagua Javier <gonzalo at novell.com> changed:

           What    |Removed                                         |Added
             Status|ASSIGNED                                        |RESOLVED
         Resolution|                                                |FIXED

--- Comment #1 from Gonzalo Paniagua Javier <gonzalo at novell.com>  2008-10-23 13:16:00 MDT ---
This is fixed now.
A similar problem but with 0 content-length was fixed recently (r113610, bug

Note that if Close is not called on the HttpWebResponse or its stream, there is
no guarantee that this test will work.

The only reason why it worked under MS runtime is because they were buffering
the headers and the first chunk of data and sending that as one packet. Our
HttpListener was not doing that and so it depends on the TCP/IP stack to decide
whether to send the 2 separate buffers as 1 packet or not. I made our
HttpListener behave like MS too.

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list