mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
respond to termination
This commit is contained in:
parent
987497bb10
commit
f8a609f692
2 changed files with 11 additions and 4 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue