diff options
author | lloyd <[email protected]> | 2011-12-23 20:23:03 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-12-23 20:23:03 +0000 |
commit | f5c863cf97ea11876acad3c46fffca23685698aa (patch) | |
tree | 5537f5c843602f136f6eb1835d8679c9ae67009e /doc | |
parent | 61d461d0a5fb63c3aee906c76b4aefe3335a7591 (diff) |
Initial hooks for session resumption
Diffstat (limited to 'doc')
-rw-r--r-- | doc/examples/tls_server.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/examples/tls_server.cpp b/doc/examples/tls_server.cpp index 62bc8fadc..eff3a3c3c 100644 --- a/doc/examples/tls_server.cpp +++ b/doc/examples/tls_server.cpp @@ -64,6 +64,8 @@ int main(int argc, char* argv[]) Server_TLS_Policy policy; + TLS_Session_Manager_In_Memory sessions; + while(true) { try { @@ -76,6 +78,7 @@ int main(int argc, char* argv[]) TLS_Server tls( std::tr1::bind(&Socket::write, std::tr1::ref(sock), _1, _2), proc_data, + sessions, policy, rng, cert, |