[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 10:41:42 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#c1


Torsten Zachert <torsten.zachert at teserco.de> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |torsten.zachert at teserco.de




--- Comment #1 from Torsten Zachert <torsten.zachert at teserco.de>  2008-07-24 08:41:42 MDT ---
this code works in MS.NET 2.0

-----------------------------------

After long time there comes an exception:

Unhandled Exception: System.Net.WebException: The operation has timed out.
  at System.Net.WebConnectionStream.Read (System.Byte[] buffer, Int32 offset,
Int32 size) [0x00091] in
/tmp/monobuild/build/BUILD/mono-1.9.1/mcs/class/System/System.Net/WebConnectionStream.cs:262 
  at System.IO.Compression.DeflateStream.ReadInternal (System.Byte[] array,
Int32 offset, Int32 count) [0x0005b] in
/tmp/monobuild/build/BUILD/mono-1.9.1/mcs/class/System/System.IO.Compression/DeflateStream.cs:162 
  at System.IO.Compression.DeflateStream.Read (System.Byte[] dest, Int32
dest_offset, Int32 count) [0x00080] in
/tmp/monobuild/build/BUILD/mono-1.9.1/mcs/class/System/System.IO.Compression/DeflateStream.cs:214 
  at System.IO.Compression.GZipStream.Read (System.Byte[] dest, Int32
dest_offset, Int32 count) [0x00000] in
/tmp/monobuild/build/BUILD/mono-1.9.1/mcs/class/System/System.IO.Compression/GzipStream.cs:62 
  at System.IO.StreamReader.ReadBuffer () [0x00012] in
/tmp/monobuild/build/BUILD/mono-1.9.1/mcs/class/corlib/System.IO/StreamReader.cs:338 
  at System.IO.StreamReader.Read (System.Char[] dest_buffer, Int32 index, Int32
count) [0x00077] in
/tmp/monobuild/build/BUILD/mono-1.9.1/mcs/class/corlib/System.IO/StreamReader.cs:398 
  at System.IO.StreamReader.ReadToEnd () [0x00036] in
/tmp/monobuild/build/BUILD/mono-1.9.1/mcs/class/corlib/System.IO/StreamReader.cs:496 
  at Program.Main (System.String[] args) [0x00070] in
/home/linux/SSL-Test2/SSL-Test2/Main.cs:32 


-- 
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