Bug 955014 - [as7] Make ASConnection keep alive timeout configurable
Summary: [as7] Make ASConnection keep alive timeout configurable
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 4.6
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: RHQ 4.7
Assignee: Thomas Segismont
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-22 13:07 UTC by Thomas Segismont
Modified: 2013-09-03 14:43 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-03 14:43:27 UTC
Embargoed:


Attachments (Terms of Use)

Description Thomas Segismont 2013-04-22 13:07:20 UTC
ASConnection current implementation uses a default keep alive timeout of 5 seconds. This value is used when the server does not send its timeout value in the "Keep-Alive" header of the response.

The default keep alive timeout should be configurable.

Comment 1 Thomas Segismont 2013-04-22 19:45:23 UTC
Pushed to master 306ee6a

https://git.fedorahosted.org/cgit/rhq/rhq.git/commit/?id=306ee6af09ae39102d3fa69c57387bb6bfdc03b8

The changeset includes a test which shows that:
* default timeout value works for EAP configuration
* disabling connection persistence does not break communication
* too long client timeouts will break communication

Comment 2 Heiko W. Rupp 2013-09-03 14:43:27 UTC
Bulk closing of issues in old RHQ releases that are in production for a while now.

Please open a new issue when running into an issue.


Note You need to log in before you can comment on or make changes to this bug.