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

View File

@@ -1,3 +1,6 @@
2009-12-12 zzz
* Disable InternalSockets until it's fixed
2009-12-11 zzz 2009-12-11 zzz
* Addressbook, susidns: Rework addressbook into a * Addressbook, susidns: Rework addressbook into a
HttpServlet, so susidns can kick it when the subscription HttpServlet, so susidns can kick it when the subscription

View File

@@ -18,7 +18,7 @@ public class RouterVersion {
/** deprecated */ /** deprecated */
public final static String ID = "Monotone"; public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION; public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 2; public final static long BUILD = 3;
/** for example "-test" */ /** for example "-test" */
public final static String EXTRA = ""; public final static String EXTRA = "";
public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA; public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;