Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLS session reuse #37

Open
duijf opened this issue Feb 15, 2018 · 3 comments
Open

TLS session reuse #37

duijf opened this issue Feb 15, 2018 · 3 comments

Comments

@duijf
Copy link
Contributor

duijf commented Feb 15, 2018

From looking at OpenSSL output, vaultenv doesn't currently seem to re-use TLS sessions. Doing this would be a performance improvement, especially on the server side. (Go TLS is quite slow golang/go#20058)

@arianvp
Copy link
Contributor

arianvp commented Feb 15, 2018

The underlying tls package has a concept of a SessionManager exactly for this:

https://hackage.haskell.org/package/tls-session-manager
https://hackage.haskell.org/package/tls-1.4.0/docs/Network-TLS.html#t:SessionManager

@duijf
Copy link
Contributor Author

duijf commented Feb 19, 2018

I opened an issue on the connection package because the docs were a bit confusing.

I think we should experiment with the tls-session-manager package to see if we can get it to work.

@ruuda
Copy link
Contributor

ruuda commented Sep 26, 2019

There has been no progress on vincenthz/hs-connection#32 for a long time. If we want this, perhaps we should look into binding libcurl instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants