SSL contexts reuse across locations

Pavel Pautov P.Pautov at F5.com
Wed May 25 06:15:35 UTC 2022


Hi,

Here is another iteration of patch, now it completely avoids creating SSL contexts without SSL proxying.
Also changed some variable names and formatting in attempt to improve readability.
Not sure about moving of merge/reuse logic into ngx_http_proxy_set_ssl(). I assume, it could look like "ngx_http_proxy_set_ssl(cf, conf, prev, reuse_ssl)", which seems to widen its scope too much.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ssl_ctx_reuse_v2.patch
Type: application/octet-stream
Size: 3326 bytes
Desc: ssl_ctx_reuse_v2.patch
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20220525/d0c55a7e/attachment.obj>


More information about the nginx-devel mailing list