Skip to content

Commit

Permalink
Merge pull request square#1121 from square/jwilson_1103_routeselector
Browse files Browse the repository at this point in the history
Be consistent about host names in RouteSelector.
  • Loading branch information
JakeWharton committed Nov 4, 2014
2 parents 912d09e + c3bc8e2 commit d36079a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ private void resetNextInetSocketAddress(Proxy proxy) throws UnknownHostException
String socketHost;
int socketPort;
if (proxy.type() == Proxy.Type.DIRECT) {
socketHost = uri.getHost();
socketHost = address.getUriHost();
socketPort = getEffectivePort(uri);
} else {
SocketAddress proxyAddress = proxy.address();
Expand Down

0 comments on commit d36079a

Please sign in to comment.