2004-12-06 jrandom

* Don't propogate streaming connection failures out to the SAM bridge as
      fatal errors.
    * Dont barf on repeated I2CP closure.
This commit is contained in:
jrandom
2004-12-06 05:03:57 +00:00
committed by zzz
parent 2fba055696
commit e52d637092
4 changed files with 34 additions and 9 deletions

View File

@ -67,6 +67,7 @@ class I2CPMessageProducer {
*
*/
public void disconnect(I2PSessionImpl session) throws I2PSessionException {
if (session.isClosed()) return;
DestroySessionMessage dmsg = new DestroySessionMessage();
dmsg.setSessionId(session.getSessionId());
session.sendMessage(dmsg);