[Mono-dev] System.Net problem

emotioN mpankov at vmware.com
Thu Nov 4 09:35:35 EDT 2010


Hello guys, I'm experiencing the following problem:
>From HttpWebRequest i receive response with chunk data. The data is valid
but i continue getting Cannot parse chunk size WebException. Here is the
stack trace:

at System.Net.ChunkStream.ThrowProtocolViolation (System.String message)
[0x00000] in <filename unknown>:0
  at System.Net.ChunkStream.GetChunkSize (System.Byte[] buffer,
System.Int32& offset, Int32 size) [0x00000] in <filename unknown>:0
  at System.Net.ChunkStream.InternalWrite (System.Byte[] buffer,
System.Int32& offset, Int32 size) [0x00000] in <filename unknown>:0
  at System.Net.ChunkStream.InternalWrite (System.Byte[] buffer,
System.Int32& offset, Int32 size) [0x00000] in <filename unknown>:0
  at System.Net.ChunkStream.Write (System.Byte[] buffer, Int32 offset, Int32
size) [0x00000] in <filename unknown>:0
  at System.Net.ChunkStream..ctor (System.Byte[] buffer, Int32 offset, Int32
size, System.Net.WebHeaderCollection headers) [0x00000] in <filename
unknown>:0
  at System.Net.WebConnection.ReadDone (IAsyncResult result) [0x00000] in
<filename unknown>:0
  --- End of inner exception stack trace ---
  at Microsoft.WindowsAzure.StorageClient.EventHelper.ProcessWebResponse
(System.Net.WebRequest req, IAsyncResult asyncResult, System.EventHandler`1
handler, System.Object sender) [0x00000] in <filename unknown>:0

I am pretty sure something is missing maybe from HTTP 1.1... 
Btw I see related topic:
http://www.mail-archive.com/mono-bugs@lists.ximian.com/msg73609.html
It says it is fixed but I try it even with today build mono source and still
have this problem.

Thanks in advance
-- 
View this message in context: http://mono.1490590.n4.nabble.com/System-Net-problem-tp3027020p3027020.html
Sent from the Mono - Dev mailing list archive at Nabble.com.


More information about the Mono-devel-list mailing list