mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-10-23 15:02:52 +00:00
respond to termination
This commit is contained in:
1 parent
987497bb10
commit
f8a609f692
2 files changed
+11
-4
No files matched your search
@@ -1308,7 +1308,10 @@ namespace transport
|
||||
break;
|
||||
case eSSU2BlkTermination:
|
||||
LogPrint (eLogDebug, "SSU2: Termination reason=", (int)buf[11]);
|
||||
Terminate ();
|
||||
if (IsEstablished () && buf[11] != eSSU2TerminationReasonTerminationReceived)
|
||||
RequestTermination (eSSU2TerminationReasonTerminationReceived);
|
||||
else
|
||||
Terminate ();
|
||||
break;
|
||||
case eSSU2BlkRelayRequest:
|
||||
LogPrint (eLogDebug, "SSU2: RelayRequest");
|
||||
|
||||
Reference in new issue
Block a user