From f3b1e39cdd7c55c914659f5ac103c3a0855f8f3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?louiz=E2=80=99?= Date: Thu, 26 Oct 2017 19:13:23 +0200 Subject: Add a workaround for https://github.com/randombit/botan/issues/1276 ref #3278 --- src/network/tcp_socket_handler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/network/tcp_socket_handler.cpp b/src/network/tcp_socket_handler.cpp index 343ec56..602cf94 100644 --- a/src/network/tcp_socket_handler.cpp +++ b/src/network/tcp_socket_handler.cpp @@ -28,6 +28,8 @@ namespace Botan::TLS::Session_Manager_In_Memory& get_session_manager() { static Botan::TLS::Session_Manager_In_Memory session_manager{get_rng()}; + // workaround for https://github.com/randombit/botan/issues/1276 + session_manager.remove_all(); return session_manager; } } -- cgit v1.2.3