disable internal sockets until I can fix the borkenness

This commit is contained in:
zzz
2009-12-12 01:36:57 +00:00
parent 993fa5c210
commit c3dc76e35f
3 changed files with 9 additions and 6 deletions

View File

@ -34,12 +34,12 @@ public class InternalSocket extends Socket {
* Convenience method to return either a Socket or an InternalSocket
*/
public static Socket getSocket(String host, int port) throws IOException {
if (System.getProperty("router.version") != null &&
(host.equals("127.0.0.1") || host.equals("localhost"))) {
return new InternalSocket(port);
} else {
//if (System.getProperty("router.version") != null &&
// (host.equals("127.0.0.1") || host.equals("localhost"))) {
// return new InternalSocket(port);
//} else {
return new Socket(host, port);
}
//}
}
@Override