gerrit/lib/httpcomponents
David Pursehouse 5636d41ba5 Use httpcomponents fluent API in acceptance tests
By using the fluent API we can simplify the HTTP connection calls.

We no longer need to explicitly set the max connections per route and
max total connections. Internally the fluent API's Executor [1] uses
a PoolingHttpClientConnectionManager with maximum 100 connections per
route and a total maximum of 200 connections. These maximums are not
as high as the ones we were previously using, but those were most
likely over-estimated anyway.

[1] http://hc.apache.org/httpcomponents-client-ga/fluent-hc/apidocs/org/apache/http/client/fluent/Executor.html

Change-Id: Ibab7ff76736f9ba063df28addc9a786bbaaadfe7
2015-05-28 17:15:36 +09:00
..
BUCK Use httpcomponents fluent API in acceptance tests 2015-05-28 17:15:36 +09:00