You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Oleg Kalnichevski (JIRA)" <ji...@apache.org> on 2019/07/17 11:35:00 UTC
[jira] [Commented] (HTTPCLIENT-2004) setMaxConnPerRoute &
setMaxConnTotal configs not working
[ https://issues.apache.org/jira/browse/HTTPCLIENT-2004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16886948#comment-16886948 ]
Oleg Kalnichevski commented on HTTPCLIENT-2004:
-----------------------------------------------
This is because if a fully initialized connection manager instance is set {{HttpClientBuilder}} ignores all other connection level parameters. See {{HttpClientBuilder}} javadocs for details.
Oleg
> setMaxConnPerRoute & setMaxConnTotal configs not working
> --------------------------------------------------------
>
> Key: HTTPCLIENT-2004
> URL: https://issues.apache.org/jira/browse/HTTPCLIENT-2004
> Project: HttpComponents HttpClient
> Issue Type: Bug
> Affects Versions: 4.5.4
> Reporter: Sheeba
> Priority: Minor
>
> I'm trying to set setMaxConnTotal & setMaxConnPerRoute but it's not overriding the default valued 20 & 2.
> I'm able to override the default value thru setMaxTotal & setDefaultMaxperRoute of connection manager. any reason why it doesn't override if I use HttpClientBuilder's setMaxConnTotal & setMaxConnPerRoute methods?
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org