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
|
||||
|
@ -1,3 +1,6 @@
|
||||
2009-12-12 zzz
|
||||
* Disable InternalSockets until it's fixed
|
||||
|
||||
2009-12-11 zzz
|
||||
* Addressbook, susidns: Rework addressbook into a
|
||||
HttpServlet, so susidns can kick it when the subscription
|
||||
|
@ -18,7 +18,7 @@ public class RouterVersion {
|
||||
/** deprecated */
|
||||
public final static String ID = "Monotone";
|
||||
public final static String VERSION = CoreVersion.VERSION;
|
||||
public final static long BUILD = 2;
|
||||
public final static long BUILD = 3;
|
||||
/** for example "-test" */
|
||||
public final static String EXTRA = "";
|
||||
public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;
|
||||
|
Reference in New Issue
Block a user