From 8cd83514f993d761aa7f66d3ee95143aed95c65b Mon Sep 17 00:00:00 2001 From: Julius Pfrommer Date: Wed, 25 Oct 2023 11:10:42 +0200 Subject: [PATCH] refactor(examples): Set session timeout for CTT to 10 minutes --- examples/server_ctt.c | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/server_ctt.c b/examples/server_ctt.c index 075e2dee2fc..97670f3ea9c 100644 --- a/examples/server_ctt.c +++ b/examples/server_ctt.c @@ -1358,6 +1358,7 @@ int main(int argc, char **argv) { /* Limit the number of SecureChannels and Sessions */ config->maxSecureChannels = 40; config->maxSessions = 10; + config->maxSessionTimeout = 10 * 60 * 10000; /* 10 minutes */ /* Revolve the SecureChannel token every 300 seconds */ config->maxSecurityTokenLifetime = 300000;