* I2PTunnel: Fix standalone server tunnels

http://forum.i2p/viewtopic.php?t=5376
This commit is contained in:
zzz
2011-02-19 17:36:37 +00:00
parent 72692840a7
commit fde7b21ca4
3 changed files with 10 additions and 3 deletions

View File

@ -210,7 +210,9 @@ public class I2PTunnelServer extends I2PTunnelTask implements Runnable {
*
*/
public void startRunning() {
Thread t = new I2PAppThread(this, "Server " + remoteHost + ':' + remotePort, true);
// prevent JVM exit when running outside the router
boolean isDaemon = getTunnel().getContext().isRouterContext();
Thread t = new I2PAppThread(this, "Server " + remoteHost + ':' + remotePort, isDaemon);
t.start();
}

View File

@ -1,5 +1,10 @@
2011-02-19 zzz
* I2PTunnel: Fix standalone server tunnels
http://forum.i2p/viewtopic.php?t=5376
2011-02-18 Mathiasdm
* Desktopgui now has an option to be disabled (desktopgui.enabled)
2011-02-17 zzz
* Build:
- Add includeAntRuntime=false to all javac targets

View File

@ -18,10 +18,10 @@ public class RouterVersion {
/** deprecated */
public final static String ID = "Monotone";
public final static String VERSION = CoreVersion.VERSION;
public final static long BUILD = 14;
public final static long BUILD = 15;
/** for example "-test" */
public final static String EXTRA = "";
public final static String EXTRA = "-rc";
public final static String FULL_VERSION = VERSION + "-" + BUILD + EXTRA;
public static void main(String args[]) {
System.out.println("I2P Router version: " + FULL_VERSION);