[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


https://bugzilla.novell.com/show_bug.cgi?id=423156

User gonzalo at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=423156#c1


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
#427974).

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