lua-nginx-module icon indicating copy to clipboard operation
lua-nginx-module copied to clipboard

feature: add balancer_ssl_session_fetchby and balancer_ssl_session_storeby

Open dongbeiouba opened this issue 7 years ago • 9 comments

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.

dongbeiouba avatar Apr 28 '18 13:04 dongbeiouba

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).

gwittel avatar May 26 '20 16:05 gwittel

@spacewander @rainingmaster please help to take a look at this PR, thanks :)

doujiang24 avatar May 29 '20 15:05 doujiang24

This pull request is now in conflict :(

mergify[bot] avatar Jun 26 '20 00:06 mergify[bot]

@spacewander @rainingmaster Any help in integrating this PR would be much appreciated.

nr17 avatar Oct 15 '20 16:10 nr17

This pull request is now in conflict :(

mergify[bot] avatar Mar 20 '23 09:03 mergify[bot]

This pull request is now in conflict :(

mergify[bot] avatar May 10 '23 14:05 mergify[bot]

This pull request is now in conflict :(

mergify[bot] avatar Sep 23 '23 00:09 mergify[bot]

This pull request is now in conflict :(

mergify[bot] avatar Mar 06 '24 04:03 mergify[bot]