[jira] [Updated] (HTTPCLIENT-1656) Client Builder doesn't expose setValidateAfterInactivity(int)

2017-05-02 Thread Oleg Kalnichevski (JIRA)

 [ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Kalnichevski updated HTTPCLIENT-1656:
--
Fix Version/s: (was: 5.0)
   5.0 Alpha2

> Client Builder doesn't expose setValidateAfterInactivity(int)
> -
>
> Key: HTTPCLIENT-1656
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1656
> Project: HttpComponents HttpClient
>  Issue Type: Improvement
>  Components: HttpClient (classic)
>Affects Versions: 4.4.1
>Reporter: yair ogen
>Assignee: Oleg Kalnichevski
>Priority: Minor
> Fix For: 5.0 Alpha2
>
>
> The API 'setStaleConnectionCheckEnabled' on the RequestConfig Builder is 
> deprecated. It points to calling 'setValidateAfterInactivity' on the 
> PoolingHttpClientConnectionManager class. 
> However we shouldn't mandate creating our own 
> PoolingHttpClientConnectionManager instance (instead of reusing the one 
> created automatically by the httpClient builder) just to 
> setValidateAfterInactivity.
> We should expose on the client/request config builder a 
> setValidateAfterInactivity like we do for 'setMaxConnPerRoute' and 
> 'setMaxConnTotal' (which in the builder are later set on the internally 
> created PoolingHttpClientConnectionManager ).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org



[jira] [Updated] (HTTPCLIENT-1656) Client Builder doesn't expose setValidateAfterInactivity(int)

2015-06-04 Thread Oleg Kalnichevski (JIRA)

 [ 
https://issues.apache.org/jira/browse/HTTPCLIENT-1656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Kalnichevski updated HTTPCLIENT-1656:
--
 Priority: Minor  (was: Major)
Fix Version/s: 5.0
   Issue Type: Improvement  (was: Bug)

We just missed the opportunity to include it in 4.5. It will likely have to 
wait until 5.0

Oleg

> Client Builder doesn't expose setValidateAfterInactivity(int)
> -
>
> Key: HTTPCLIENT-1656
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1656
> Project: HttpComponents HttpClient
>  Issue Type: Improvement
>  Components: HttpClient
>Affects Versions: 4.4.1
>Reporter: yair ogen
>Priority: Minor
> Fix For: 5.0
>
>
> The API 'setStaleConnectionCheckEnabled' on the RequestConfig Builder is 
> deprecated. It points to calling 'setValidateAfterInactivity' on the 
> PoolingHttpClientConnectionManager class. 
> However we shouldn't mandate creating our own 
> PoolingHttpClientConnectionManager instance (instead of reusing the one 
> created automatically by the httpClient builder) just to 
> setValidateAfterInactivity.
> We should expose on the client/request config builder a 
> setValidateAfterInactivity like we do for 'setMaxConnPerRoute' and 
> 'setMaxConnTotal' (which in the builder are later set on the internally 
> created PoolingHttpClientConnectionManager ).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

-
To unsubscribe, e-mail: dev-unsubscr...@hc.apache.org
For additional commands, e-mail: dev-h...@hc.apache.org