forked from I2P_Developers/i2p.i2p
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
|
* 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
|
||||||
|
@@ -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
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user