The get task will cause a "The operation has timed out." error to occur when the read takes longer than the default. The timeout attribute for the get task needed to be additionally assigned to the ResponseStream.ReadTimeout property, once the ResponseStream was obtained.
Also, I additionally added try + finally to the creation of each of the important objects to ensure the underlying was properly Closed upon completion. There are known errors with unclosed HttpWebResponse objects left unclosed.
I hope you will consider these changes for the core.
Richard
Patch to nant for the GetTask changes.
Hi,
I would like to research this further and test. Do you happen to have a testcase I can use to see how this works?
Thanks,
Ryan