[Mono-bugs] [Bug 510963] HttpWebRequest: Request body is immediately sent for POST/PUT

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Jun 8 19:06:35 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=510963

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Gonzalo Paniagua Javier <gonzalo at novell.com>  2009-06-08 17:06:33 MDT ---
The problem here is the test case itself.

In EchoRequestHandler(), there is a loop that reads lines until the entire
input is over. In the case of Mono, that goes through the POST body and later
on the server still tries to read more data.

Even if we change the code to call send() twice, the OS might decide to send 1
single packet so the server should not rely on that.

If you want to see the test failing under MS, just add a Thread.Sleep (500) at
the beginning of EchoRequestHandler()...

-- 
Configure bugmail: http://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