I2CP: More fixes after prop, w.r.t. restore after close-on-idle

- When socket is closed, set sessionID and LS to null,
    close subsession and set its sessionID and LS to null
  - Checks on client side for null session ID
  - Check for null session in Destroy Session message
  - Don't kill I2CP connection due to a bad session ID
    in a SendMessage, just drop the message and send
    a MessageStatusMessage
  - Log tweaks
This commit is contained in:
zzz
2015-06-17 23:44:12 +00:00
parent 8d9cced128
commit 7c5dfaee20
4 changed files with 85 additions and 17 deletions

View File

@@ -8,6 +8,10 @@ Prop from i2p.i2p.zzz.multisess:
- Add support for 'aliased' local destinations that use the same tunnel pools
- No UI or config support, no server support, may be added later
- Catch uncaught exceptions in ClientConnectionRunner and stop connection
- When socket is closed, set sessionID and LS to null,
close subsession and set its sessionID and LS to null
- Checks on client side for null session ID
- Check for null session in Destroy Session message
2015-06-13 zzz
* i2psnark: Fix NPE (ticket #1602)