Hi,

I am using the  http://sharpbox.codeplex.com/ SharpBox  library for
communicating with the Dropbox API and I have noticed an intermittent bug
when trying to download pretty large files.

After a bit of digging turns out it is actually a bug in mono with the
WebConnectionStream - 

https://bugzilla.xamarin.com/show_bug.cgi?id=1585
https://bugzilla.novell.com/show_bug.cgi?id=675362

I have seen a couple of suggestions to get around this 1) wrap the
WebConnectionStream in a BufferedStream (which didn't appear to work for me)
and 2) copy the WebConnectionStream to a MemoryStream and then read from
that.

Copying to a memory stream did work, however, this isn't really a viable
option for me as I don't want to store a file that size in memory (even if
it's just for a small amount of time). 

Is there any updates on this issue or does anyone have any less memory
intensive workarounds I could possibly try?

Regards

James

--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Reading-from-web-response-blocks-indefinitely-tp4561941p4561941.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to