disable internal sockets until I can fix the borkenness
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user