-
Notifications
You must be signed in to change notification settings - Fork 2k
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
feature: add balancer_ssl_session_fetchby and balancer_ssl_session_storeby #1312
base: master
Are you sure you want to change the base?
Conversation
Are there any plans to pick up this work? Was debugging SSL induced performance issues when I verified this behavior (and later found this ticket). |
@spacewander @rainingmaster please help to take a look at this PR, thanks :) |
This pull request is now in conflict :( |
@spacewander @rainingmaster Any help in integrating this PR would be much appreciated. |
f924579
to
fef2581
Compare
This pull request is now in conflict :( |
This pull request is now in conflict :( |
This pull request is now in conflict :( |
This pull request is now in conflict :( |
This pull request is now in conflict :( |
I hereby granted the copyright of the changes in this pull request
to the authors of this lua-nginx-module project.
Nginx support caching and reusing the upstream ssl session, but balancer_by_lua don't support reusing the ssl session.
So i add the hook balancer_ssl_session_fetchby and balancer_ssl_session_storeby; and then we can cache the ssl session with lua code.
Cache and reuse the ssl session can reduce ssl full handshake with the proxied servers; especially for those nginx which not config keepalive.