diff options
Diffstat (limited to 'src/org/apache')
-rw-r--r-- | src/org/apache/http/impl/conn/DefaultClientConnectionOperator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/apache/http/impl/conn/DefaultClientConnectionOperator.java b/src/org/apache/http/impl/conn/DefaultClientConnectionOperator.java index 67e6bb0..fbc762d 100644 --- a/src/org/apache/http/impl/conn/DefaultClientConnectionOperator.java +++ b/src/org/apache/http/impl/conn/DefaultClientConnectionOperator.java @@ -223,7 +223,7 @@ public class DefaultClientConnectionOperator final Socket sock; try { sock = lsf.createSocket - (conn.getSocket(), target.getHostName(), target.getPort(), true); + (conn.getSocket(), target.getHostName(), schm.resolvePort(target.getPort()), true); } catch (ConnectException ex) { throw new HttpHostConnectException(target, ex); } |