Kevin Minder created KNOX-604:
---------------------------------
Summary: Expose configuration of HttpClient's max connections per
route setting
Key: KNOX-604
URL: https://issues.apache.org/jira/browse/KNOX-604
Project: Apache Knox
Issue Type: Bug
Components: Server
Reporter: Kevin Minder
Assignee: Kevin Minder
Fix For: 0.7.0
The httpClient should allow configurable “max connection per route”, “ max
total connections”. Currently the GatewayDispatchFilter.init() configures the
HttpClient with default connection pool, which is too small.
httpClient = HttpClients.custom().setDefaultCookieStore(new
NoCookieStore()).build();
change to:
httpClient = HttpClients.custom().setDefaultCookieStore(new
NoCookieStore()).setMaxConnPerRoute(…) .setMaxConnTotal(…).build();
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)