1. Roland Smith
  2. PowerBuilder
  3. Wednesday, 7 August 2019 19:14 PM UTC

The new HTTPClient object in PB 2017 has a Timeout property which is described as:

The TimeOut property specifies the timeout seconds. The default value is 60 and 0 means no timeout.

The low level WinHTTP API timeout has 4 separate properties with a default of 30 seconds. It is specified in milliseconds instead of seconds.

 

I am wondering, does the Timeout property set all 4 of the underlying timeout properties to the same value?

Tom Jiang @Appeon Accepted Answer Pending Moderation
  1. Thursday, 8 August 2019 02:32 AM UTC
  2. PowerBuilder
  3. # 1

The timeout value set to the HTTPClient object will be set to all 4 underlying properties. So if you set the timeout to 30s. In worst case scenario, it will time out after 29*4 seconds.

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.