Salesforce

What are the defaults for HTTP client timeouts/retries ?

« Go Back

Information

 
TitleWhat are the defaults for HTTP client timeouts/retries ?
URL NameWhat-are-the-defaults-for-HTTP-client-timeouts-retries
Article Number000177934
EnvironmentProduct: OpenEdge
Version: 11.5.1, 11.6.x, 11.7.x, 12.x
OS: All Supported Platforms
Other: OpenEdge.NET.HttpClient
Question/Problem Description
HttpClient clientbuilder class has a number of methods to set client timeout and retry behavior:
setRetryPause, SetRequestTimeOut, SetNumRetries

What are the default values for these settings ?
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
The methods listed end up setting properties of the ClientOptions class associated with the HTTP client instance.

SetRetryPause
Sets PauseBetweenRetry property: 
The number of seconds (incl. fractions of seconds) between retries. Intiial value 0.

SetRequestTimeOut 
sets RequestTimeout property: 
Defines the maximum time in seconds a request must take. Initial value 0. The SetRequestTimeout value is used as a stop-after value when sending data to the server, and also as a timeout when receiving data (set as a SO-RCVTIMEO socket option). 
Note: value of 0 means the timeout is disabled.

SetNumRetries 
sets NumRetries property:
How many retries of the same request should be attempted. Initial value 10.
Workaround
Notes
References to Other Documentation:

Develop an HTTP client application in ABL > Execute an HTTP Request:
https://docs.progress.com/bundle/openedge-abl-develop-http-clients/page/Execute-an-HTTP-request.html

Progress Article(s):
Is there an HTTP client for OpenEdge?
OpenEdge.Net.pl is missing from PROPATH
 
Keyword Phrase
Last Modified Date6/6/2023 8:33 PM

Powered by