Freeman Fang created CXF-6912: --------------------------------- Summary: introduce CONNECTION_MAX_IDLE property for AHC Key: CXF-6912 URL: https://issues.apache.org/jira/browse/CXF-6912 Project: CXF Issue Type: Improvement Components: Transports Reporter: Freeman Fang
currently we have the CONNECTION_TTL property for AHC, this is used to specify a connection TimeToLive, no matter the connection is active or not. For some scenarios, users wanna specify the value for how long an idle connection should exist in the connection pool, if reach that timespan, just close the idle connection. We need introduce another property named CONNECTION_MAX_IDLE to do it. To let CONNECTION_MAX_IDLE take effect, customer need configure CONNECTION_TTL as "0" which means the connection does not have an expiry deadline and use the CONNECTION_MAX_IDLE to close the idle connection only, so that the actively used connection could be still reused by the connection pool -- This message was sent by Atlassian JIRA (v6.3.4#6332)