[Mono-bugs] [Bug 411861] StreamReader.ReadToEnd() does not come to end in some cases

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Jul 24 11:45:23 EDT 2008


User torsten.zachert at teserco.de added comment

--- Comment #2 from Torsten Zachert <torsten.zachert at teserco.de>  2008-07-24 09:45:23 MDT ---
If I use:

string html = string.Empty;
while (-1 != streamReader.Peek())
    html += streamReader.ReadLine();

instead of:

string html = new StreamReader(stream).ReadToEnd();

the loop hangs too..

I think there is a buffer problem...

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