cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <>
Subject [jira] [Assigned] (CXF-6912) introduce CONNECTION_MAX_IDLE property for AHC
Date Mon, 23 May 2016 06:49:12 GMT


Freeman Fang reassigned CXF-6912:

    Assignee: Freeman Fang

> introduce CONNECTION_MAX_IDLE property for AHC
> ----------------------------------------------
>                 Key: CXF-6912
>                 URL:
>             Project: CXF
>          Issue Type: Improvement
>          Components: Transports
>            Reporter: Freeman Fang
>            Assignee: 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

View raw message