mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-02-02 02:44:15 +00: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++;
|
||||||
*payload = 0; // num fragments
|
*payload = 0; // num fragments
|
||||||
// encrypt message with session key
|
// encrypt message with session key
|
||||||
FillHeaderAndEncrypt (PAYLOAD_TYPE_SESSION_DESTROYED, buf, 48);
|
FillHeaderAndEncrypt (PAYLOAD_TYPE_DATA, buf, 48);
|
||||||
Send (buf, 48);
|
Send (buf, 48);
|
||||||
LogPrint ("SSU keep-alive sent");
|
LogPrint ("SSU keep-alive sent");
|
||||||
ScheduleTermination ();
|
ScheduleTermination ();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user