[Mono-bugs] [Bug 496905] New: Mono's HttpWebRequest/Response do not pull all chunked HTML data.

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Apr 21 10:53:12 EDT 2009


           Summary: Mono's HttpWebRequest/Response do not pull all chunked
                    HTML data.
    Classification: Mono
           Product: Mono: Class Libraries
           Version: 2.4.x
          Platform: 32bit
        OS/Version: Linux
            Status: NEW
          Severity: Blocker
          Priority: P5 - None
         Component: System
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: draekz at gmail.com
         QAContact: mono-bugs at lists.ximian.com
                CC: draekz at gmail.com
          Found By: ---

Created an attachment (id=287166)
 --> (http://bugzilla.novell.com/attachment.cgi?id=287166)
WinForms app compiled on Windows using VS2008Express, used to test Facebook

Description of Problem:
When dealing with a certain website, HttpWebRequest's response stream is not
giving all the data that is being sent from the website. May have something to
do with Chunked Data being received.

This happens in Mono 2.0.1, 2.2 and 2.4.

This works correctly when using the .NET Framework and Windows with the same
code. (Visual Studio 2008 Express)

Steps to reproduce the problem:
1. Run the FacebookTests app.
2. Type in your facebook account credentials.
3. Click the Connect button and look at output.

Actual/Excepted Results:
The output in the console shows the webpage that is sent back. Of course this
is a standard webpage that should end with the </html> tag. Usually this page
is about 22,000 bytes depending on what information is showing on your homepage
for facebook. It is always bigger than 4000 bytes, which is all Mono receives.

If you run the app in the .NET Framework, you will see the output shown in the
console is full, all the way to the </html> tag. In Mono, it seems only the
first chunk is received.

How often does this happen? 

Additional Information:
I am adding the FacebookTests apps that I created using WinForms and GTK (just
in case) for testing. The console output is the important part. It will show
the size of the data obtained from the stream, and its output.

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

More information about the mono-bugs mailing list