diff options
author | lloyd <[email protected]> | 2014-12-20 13:45:23 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-12-20 13:45:23 +0000 |
commit | 4083193089f91ec11584ae729ecc3b4cc3b4b86a (patch) | |
tree | d6edc4e416f3eb34aeb91b00d2bee6386962f316 /doc/relnotes | |
parent | 4562cd4366c81c905dc8957837c6128b193a28bd (diff) |
Add abstract database interface so applications can easily store info
in places other than sqlite3, though sqlite3 remains the only
implementation. The interface is currently limited to precisely the
functionality the TLS session manager needs and will likely expand.
Diffstat (limited to 'doc/relnotes')
-rw-r--r-- | doc/relnotes/1_11_11.rst | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/relnotes/1_11_11.rst b/doc/relnotes/1_11_11.rst index da6d56a85..4eb7e948c 100644 --- a/doc/relnotes/1_11_11.rst +++ b/doc/relnotes/1_11_11.rst @@ -1,3 +1,15 @@ Version 1.11.11, Not Yet Released ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +* The Sqlite3 wrapper has been abstracted to a simple interface for + SQL dbs in general, though Sqlite3 remains the only implementation. + The main logic of the TLS session manager which stored encrypted + sessions to a Sqlite3 database (`TLS::Session_Manager_SQLite`) has + been moved to the new `TLS::Session_Manager_SQL`. The Sqlite3 + manager API remains the same but now just subclasses + `TLS::Session_Manager_SQL` and has a constructor instantiate the + concrete database instance. + + Applications which would like to use a different db can now do so + without having to reimplement the session cache logic simply by + implementing a database wrapper subtype. |