#55 Get task causes "The operation has timed out." error.

Current CVS
open
Tasks (29)
5
2010-05-05
2010-05-05
No

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

Discussion

  • Richard Adleta

    Richard Adleta - 2010-05-05

    Patch to nant for the GetTask changes.

     
  • Ryan Boggs

    Ryan Boggs - 2010-05-05

    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

     
  • Ryan Boggs

    Ryan Boggs - 2010-05-05
    • assigned_to: nobody --> rmboggs
     

Log in to post a comment.