Skip to content
Permalink
Browse files
HTTPCLIENT-2225: connection route calculation does not take the defau…
…lt RequestConfig into account
  • Loading branch information
ok2c committed Jun 29, 2022
1 parent 518eb41 commit 37711293767383ade39d384fd3576665a3a5f033
Showing 1 changed file with 3 additions and 2 deletions.
@@ -184,6 +184,9 @@ protected <T> Future<T> doExecute(
if (requestConfig != null) {
clientContext.setRequestConfig(requestConfig);
}

setupContext(clientContext);

final HttpRoute route = determineRoute(
httpHost != null ? httpHost : RoutingSupport.determineHost(request),
clientContext);
@@ -194,8 +197,6 @@ protected <T> Future<T> doExecute(
}
final AsyncExecRuntime execRuntime = createAsyncExecRuntime(pushHandlerFactory);

setupContext(clientContext);

final AsyncExecChain.Scheduler scheduler = this::executeScheduled;

final AsyncExecChain.Scope scope = new AsyncExecChain.Scope(exchangeId, route, request, future,

0 comments on commit 3771129

Please sign in to comment.