]> git.feebdaed.xyz Git - 0xmirror/nginx.git/commit
SSL: caching certificates.
authorSergey Kandaurov <pluknet@nginx.com>
Mon, 9 Sep 2024 15:03:52 +0000 (19:03 +0400)
committerpluknet <pluknet@nginx.com>
Tue, 1 Oct 2024 13:59:24 +0000 (17:59 +0400)
commit78ed123e71aab17ffecfa0b2b27a349cfb4b2502
tree274005072571aeb11ef26b4a00509d8f08c3331f
parent7d7e8d2cb8d16e409e0d4c777b30f1d8d7838c7b
SSL: caching certificates.

Certificate chains are now loaded once.

The certificate cache provides each chain as a unique stack of reference
counted elements.  This shallow copy is required because OpenSSL stacks
aren't reference counted.

Based on previous work by Mini Hawthorne.
src/event/ngx_event_openssl.c
src/event/ngx_event_openssl.h
src/event/ngx_event_openssl_cache.c