[
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: [email protected]
For additional commands, e-mail: [email protected]