diff options
Diffstat (limited to 'doc/examples/asio_tls_server.cpp')
-rw-r--r-- | doc/examples/asio_tls_server.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/examples/asio_tls_server.cpp b/doc/examples/asio_tls_server.cpp index 5c606a3f2..e721d0455 100644 --- a/doc/examples/asio_tls_server.cpp +++ b/doc/examples/asio_tls_server.cpp @@ -215,6 +215,11 @@ class Session_Manager_Locked : public Botan::TLS::Session_Manager m_session_manager.save(session); } + Botan::u32bit session_lifetime() const + { + return m_session_manager.session_lifetime(); + } + private: boost::mutex m_mutex; Botan::TLS::Session_Manager_In_Memory m_session_manager; |