mirror of
https://github.com/PurpleI2P/i2pd
synced 2024-11-10 08:00:38 +03:00
use data message for keep-alive
This commit is contained in:
parent
6069055c9e
commit
d3081a4e03
2
SSU.cpp
2
SSU.cpp
@ -846,7 +846,7 @@ namespace ssu
|
||||
payload++;
|
||||
*payload = 0; // num fragments
|
||||
// encrypt message with session key
|
||||
FillHeaderAndEncrypt (PAYLOAD_TYPE_SESSION_DESTROYED, buf, 48);
|
||||
FillHeaderAndEncrypt (PAYLOAD_TYPE_DATA, buf, 48);
|
||||
Send (buf, 48);
|
||||
LogPrint ("SSU keep-alive sent");
|
||||
ScheduleTermination ();
|
||||
|
Loading…
Reference in New Issue
Block a user