Browse Source

Pass config in retry handler. Fixes #1879.

pull/6/head
Ryan Baxter 8 years ago
parent
commit
dbf17dea18
  1. 3
      spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/ribbon/apache/RibbonLoadBalancingHttpClient.java

3
spring-cloud-netflix-core/src/main/java/org/springframework/cloud/netflix/ribbon/apache/RibbonLoadBalancingHttpClient.java

@ -103,6 +103,7 @@ public class RibbonLoadBalancingHttpClient extends @@ -103,6 +103,7 @@ public class RibbonLoadBalancingHttpClient extends
@Override
public RequestSpecificRetryHandler getRequestSpecificRetryHandler(RibbonApacheHttpRequest request, IClientConfig requestConfig) {
return new RequestSpecificRetryHandler(false, false, RetryHandler.DEFAULT, null);
return new RequestSpecificRetryHandler(false, false,
RetryHandler.DEFAULT, requestConfig);
}
}

Loading…
Cancel
Save