On Wed, 2020-07-08 at 14:49 -0400, Evan J wrote:
> I wanted to clarify whether *MaxPerRoute* is per IP, and not per URL.
> e.g.
> 
> http://example.com/api/getData
> http://example.com/api/getFin
> http://example.com/route/notification
> http://otherhost.com/api/deposite
> 

The MaxPerRoute parameter is per host:port / proxy_host:proxy_port /
local_address combination (as represented by the HttpRoute class).


> Are the first three URLs considered as a single route, and therefore
> the
> MaxPerRoute is divided among two routes equally? Looking at HttpHost
> seems
> like this is true, and the first three URLs are considered a single
> route.
> 

Correct.

> And if the first three URLs are considered as a single route, I
> suppose the
> framework provides the number of connections to whichever URL is
> requested
> for whatever number of times first, rather than treating them
> equally.
> 
> Thanks.

Yes, it is the case.

Cheers

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org

Reply via email to