diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2007-06-14 10:44:41 -0230 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2007-06-14 10:44:41 -0230 |
commit | 9384d90d200a46c26a22135d4f4e39be78d04ab0 (patch) | |
tree | 301242e7633043ec9225e2732a81037f438da9c4 /java/src/IceInternal/TcpEndpointI.java | |
parent | Fixed bug 2254 (diff) | |
download | ice-9384d90d200a46c26a22135d4f4e39be78d04ab0.tar.bz2 ice-9384d90d200a46c26a22135d4f4e39be78d04ab0.tar.xz ice-9384d90d200a46c26a22135d4f4e39be78d04ab0.zip |
No longer necessary to expand enpoints in proxies, use same mechanism as for multihomed hosts.
Added some missing .gitignore files.
Diffstat (limited to 'java/src/IceInternal/TcpEndpointI.java')
-rw-r--r-- | java/src/IceInternal/TcpEndpointI.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/java/src/IceInternal/TcpEndpointI.java b/java/src/IceInternal/TcpEndpointI.java index bc7a3b46a79..941b1ee0cc3 100644 --- a/java/src/IceInternal/TcpEndpointI.java +++ b/java/src/IceInternal/TcpEndpointI.java @@ -362,10 +362,10 @@ final class TcpEndpointI extends EndpointI // // Expand endpoint out in to separate endpoints for each local - // host if endpoint was configured with no host set. + // host if listening on INADDR_ANY. // public java.util.ArrayList - expand(boolean includeLoopback) + expand() { java.util.ArrayList endps = new java.util.ArrayList(); if(_host.equals("0.0.0.0")) @@ -375,7 +375,7 @@ final class TcpEndpointI extends EndpointI while(iter.hasNext()) { String host = (String)iter.next(); - if(includeLoopback || hosts.size() == 1 || !host.equals("127.0.0.1")) + if(hosts.size() == 1 || !host.equals("127.0.0.1")) { endps.add(new TcpEndpointI(_instance, host, _port, _timeout, _connectionId, _compress)); } |