]> git.ipfire.org Git - thirdparty/openvpn.git/commit - src/openvpn/ssl_common.h
Use exponential backoff for caching in tls_authentication_status
authorArne Schwabe <arne@rfc2549.org>
Mon, 10 May 2021 13:13:56 +0000 (15:13 +0200)
committerGert Doering <gert@greenie.muc.de>
Sat, 15 May 2021 15:22:13 +0000 (17:22 +0200)
commitd49df6bdde0592c9f795a2a260f6f04255b32303
treeb512f8dfe7d9e62e2082e4aec1fc8214a162520d
parent9a4305020777ce92d4143828b39027f43951ac32
Use exponential backoff for caching in tls_authentication_status

The caching in tls_authentication_status broke the quick reaction to
authentication status in the code paths that did not do caching like
PUSH_REQUEST reply code path.

This patch introduces exponential backoff for the caching so we still
retain the quick reaction while still keeping the benefit of caching.

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Antonio Quartulli <antonio@openvpn.net>
Message-Id: <20210510131356.968965-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22327.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/multi.c
src/openvpn/push.c
src/openvpn/ssl.c
src/openvpn/ssl.h
src/openvpn/ssl_common.h
src/openvpn/ssl_verify.c
src/openvpn/ssl_verify.h