forked from I2P_Developers/i2p.i2p
SAM: Reset incoming socket if no subsession is matched (GItlab #456)
This commit is contained in:
@@ -399,6 +399,9 @@ class PrimarySession extends SAMv3StreamSession implements SAMDatagramReceiver,
|
||||
} else {
|
||||
if (_log.shouldLog(Log.WARN))
|
||||
_log.warn("No subsession found for incoming streaming connection on port " + port);
|
||||
try {
|
||||
i2ps.reset();
|
||||
} catch (IOException ioe) {}
|
||||
}
|
||||
}
|
||||
if (_log.shouldWarn())
|
||||
|
Reference in New Issue
Block a user