Changeset bb66e16


Ignore:
Timestamp:
Sep 4, 2012 1:46:10 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
666a387
Parents:
0ba3aad
Message:

I2PTunnelServer: Clean shutdown after session exception

Location:
apps/i2ptunnel/java/src/net/i2p/i2ptunnel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelServer.java

    r0ba3aad rbb66e16  
    376376                if (_log.shouldLog(Log.ERROR))
    377377                    _log.error("Error accepting - KILLING THE TUNNEL SERVER", ipe);
    378                 return;
     378                // TODO delay and loop if internal router is soft restarting?
     379                open = false;
     380                break;
    379381            } catch (ConnectException ce) {
    380382                if (_log.shouldLog(Log.ERROR))
  • apps/i2ptunnel/java/src/net/i2p/i2ptunnel/I2PTunnelTask.java

    r0ba3aad rbb66e16  
    1616    private int id;
    1717    private String name;
    18     protected boolean open;
     18    protected volatile boolean open;
    1919    private I2PTunnel tunnel;
    2020
Note: See TracChangeset for help on using the changeset viewer.