lua-nginx-module
lua-nginx-module copied to clipboard
feature: add balancer_ssl_session_fetchby and balancer_ssl_session_storeby
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.
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.
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 :(