HTTP Client Resource Template

This section is an update to the topic HTTP Client Resource Template in TIBCO ActiveMatrix Service Grid Administration Guide.

Starting with TIBCO ActiveMatrix Hotfix 06, the Idle Timeout field in the HTTP Client resource template General tab is changed to Linger Timeout. In the Advanced tab, Idle Timeout field is added.

General

Property Required? Editable? Accepts SVARs? Description
Linger Timeout (s) No Yes Yes

When a socket wishes to terminate a connection, it can linger, allowing unsent data to be transmitted. Alternatively, the socket can reset, which means that all unsent data will be lost. To prevent this, you can explicitly set a delay before a reset is sent, giving more time for data to be read. The Linger Timeout specifies the time to provide for the delay (before reset) so that the socket can linger.

Default: 0.

Advanced

Property Required? Editable? Accepts SVARs? Description
Idle Timeout (s) No Yes Yes The length of time to wait before closing an inactive connection. If more than zero, and data transmission has not finished, a call to close the connection blocks the calling program until the data is transmitted or until the specified timeout occurs. If 0, a call to close the connection returns without blocking the caller and an attempt is made to send the data. Normally this transfer is successful, but it cannot be guaranteed. This value should be changed only on the advise of TIBCO Support.

Client side Idle timeout must be less that Server side timeout to avoid "Premature end of Content-Length delimited message body".

Default: -1. There is no timeout.