From 4ad62aaa6aa269f08c0fdc9c139e6d5417e21746 Mon Sep 17 00:00:00 2001 From: Mathias Hall-Andersen Date: Sat, 8 Jul 2017 23:51:26 +0200 Subject: Improved timer state machine --- src/constants.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/constants.go') diff --git a/src/constants.go b/src/constants.go index 6fbb7a0..4e8d521 100644 --- a/src/constants.go +++ b/src/constants.go @@ -16,6 +16,10 @@ const ( MaxHandshakeAttemptTime = time.Second * 90 ) +const ( + RekeyAfterTimeReceiving = RekeyAfterTime - KeepaliveTimeout - RekeyTimeout +) + const ( QueueOutboundSize = 1024 QueueInboundSize = 1024 -- cgit v1.2.3