forked from I2P_Developers/i2p.i2p
I2CP Multisession - Work in progress:
Fix sending CreateSessionMessage for subsession New AliasedTunnelPool for subsessions, don't reuse TunnelPool, so it has its own settings Fix addAlias() Simplify refreshSettings() Send status message on subsession create failure Fix settings for subsession
This commit is contained in:
@ -647,6 +647,8 @@ abstract class I2PSessionImpl implements I2PSession, I2CPMessageReader.I2CPMessa
|
||||
// now send CreateSessionMessages for all subsessions, one at a time, must wait for each response
|
||||
synchronized(_subsessionLock) {
|
||||
for (SubSession ss : _subsessions) {
|
||||
if (_log.shouldLog(Log.INFO))
|
||||
_log.info(getPrefix() + "Connecting subsession " + ss);
|
||||
_producer.connect(ss);
|
||||
}
|
||||
}
|
||||
|
@ -114,7 +114,8 @@ class SubSession extends I2PSessionMuxedImpl {
|
||||
*/
|
||||
@Override
|
||||
public boolean isClosed() {
|
||||
return getSessionId() == null || _primary.isClosed();
|
||||
// FIXME
|
||||
return /* getSessionId() == null || */ _primary.isClosed();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user