SSL contexts reuse across locations

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


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: <>

More information about the nginx-devel mailing list