mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
detect clock skew
This commit is contained in:
parent
dc6108575c
commit
440516e95f
4 changed files with 22 additions and 1 deletions
|
@ -27,6 +27,7 @@ namespace transport
|
|||
|
||||
const int SSU_CONNECT_TIMEOUT = 5; // 5 seconds
|
||||
const int SSU_TERMINATION_TIMEOUT = 330; // 5.5 minutes
|
||||
const int SSU_CLOCK_SKEW = 60; // in seconds
|
||||
|
||||
// payload types (4 bits)
|
||||
const uint8_t PAYLOAD_TYPE_SESSION_REQUEST = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue