Hello! I'm trying to implement TLS session re-use in one of our open source projects (https://github.com/channable/vaultenv/issues/37), but am having a few issues understanding the current status of support from this library.
The docs for settingDisableSession currently read "Disable session management. TLS/SSL connections will always re-established their context. Not Implemented Yet."
To me, it seems like it would mean "Disabling session management isn't implemented, sessions will always be re-used", but this code suggests that the actual re-use isn't implemented (since the default of the tls package is noSessionManager).
Because of the double negative in the docs, the wording is a bit ambiguous.
Hello! I'm trying to implement TLS session re-use in one of our open source projects (https://github.com/channable/vaultenv/issues/37), but am having a few issues understanding the current status of support from this library.
The docs for
settingDisableSession
currently read "Disable session management. TLS/SSL connections will always re-established their context. Not Implemented Yet."To me, it seems like it would mean "Disabling session management isn't implemented, sessions will always be re-used", but this code suggests that the actual re-use isn't implemented (since the default of the
tls
package isnoSessionManager
).Because of the double negative in the docs, the wording is a bit ambiguous.
Questions:
hs-connection
? Could we just override the default settings to useconnectionSessionManager
from this package? Or does it have problems and do we need to use another implementation (such as https://hackage.haskell.org/package/tls-session-manager-0.0.0.2/docs/Network-TLS-SessionManager.html or roll our own?)Thanks for your work you put in this package, by the way :smile: