Login  
Search All Forums
Dart Home | PowerTCP SFTP & SSH for .NET | Custom Development Reply | PowerTCP SFTP & SSH for .NET Topics | Forums   
AuthorForum: PowerTCP SFTP & SSH for .NET
Topic: SessionStream.ReadTimeout Causes Delays
raymegal

From: USA
Posts: 14
Member Since: 09/18/14
posted May 2, 2018 5:44 PM

We are using SessionStream.ReadTimeout to abort the session if it takes too long. However, it appears to want to wait up to the ReadTimeout value before doing anything instead of processing any data it may get before that. This is causing things to run too long if the value is too high, and to abort if the value is too low.

I can see that things proceed much faster if the ReadTimeout value is something like 3000. I may have a step that takes 60 seconds to complete (60000), but if I set ReadTimeout to 60000 then every step waits that long before proceeding.

What am I missing?
Jamie Powell (Admin)

From: Rome, NY USA
Posts: 376
Member Since: 03/13/07

Extra Support Options
Custom Application Development

posted May 4, 2018 11:59 AM

Thank you for your post. An email has been sent to you which includes a beta dll you may use for testing. Please let me know if you do not receive the email and I will be happy to resend.

Regards,
Jamie
raymegal

From: USA
Posts: 14
Member Since: 09/18/14
posted May 7, 2018 10:59 AM

Iíve been testing the new module it looks like the ReadTimeout setting is now working as expected; control is returned from Read before the ReadTimeout limit is reached if there is data but times-out if no data is returned before then.

Thanks for a quick fix for this.
Reply | PowerTCP SFTP & SSH for .NET Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX