summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/network/tcp_socket_handler.cpp2
1 files changed, 2 insertions, 0 deletions
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;
}
}