[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
https://bugzilla.novell.com/show_bug.cgi?id=411861
User torsten.zachert at teserco.de added comment
https://bugzilla.novell.com/show_bug.cgi?id=411861#c2
--- 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();
}
Console.WriteLine(html);
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