Improved timer state machine
This commit is contained in:
parent
5c1ccbddf0
commit
4ad62aaa6a
10 changed files with 418 additions and 222 deletions
|
|
@ -16,6 +16,10 @@ const (
|
|||
MaxHandshakeAttemptTime = time.Second * 90
|
||||
)
|
||||
|
||||
const (
|
||||
RekeyAfterTimeReceiving = RekeyAfterTime - KeepaliveTimeout - RekeyTimeout
|
||||
)
|
||||
|
||||
const (
|
||||
QueueOutboundSize = 1024
|
||||
QueueInboundSize = 1024
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue