2 Replies Latest reply on Jun 24, 2009 11:56 AM by Tom Fennelly

    Adding a "max-connections-per-host" to the HttpClientFactory

    Tom Fennelly Master

      HttpClientFactory.createHttpClient creates a HttpConnectionManager instance and configures the "max-total-connections". This is somewhat irrelevant however as the HttpClient still has a default limit of 1 (or 2 - I forget) max connections per connected host, so will never use anything like the configured "max-total-connections".

      So it seems like we need to add support for a "max-connections-per-host" configuration. How should this work?