We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f23d36 commit e3628d3Copy full SHA for e3628d3
src/main/java/com/ning/http/client/providers/grizzly/GrizzlyAsyncHttpProvider.java
@@ -2434,8 +2434,12 @@ public void updated(Connection result) {
2434
}
2435
2436
private static String getPoolKey(Request request, ProxyServer proxyServer) {
2437
- URI uri = proxyServer != null? proxyServer.getURI(): request.getURI();
2438
- return request.getConnectionPoolKeyStrategy().getKey(uri);
+ String serverPart =
+ request.getConnectionPoolKeyStrategy().getKey(request.getURI());
2439
+ return proxyServer != null
2440
+ ? AsyncHttpProviderUtils.getBaseUrl(proxyServer.getURI())
2441
+ + serverPart
2442
+ : serverPart;
2443
2444
2445
// ------------------------------------------------------ Nested Classes
0 commit comments