]> git.kaiwu.me - nginx.git/commit
SSL: object caching.
authorSergey Kandaurov <pluknet@nginx.com>
Mon, 9 Sep 2024 15:03:20 +0000 (19:03 +0400)
committerpluknet <pluknet@nginx.com>
Tue, 1 Oct 2024 13:59:24 +0000 (17:59 +0400)
commit7d7e8d2cb8d16e409e0d4c777b30f1d8d7838c7b
treeb8b56a02e144614210e6eb18820e0c0337c84722
parentf36ff3550a7271a618edb119f064dddd086cc380
SSL: object caching.

Added ngx_openssl_cache_module, which indexes a type-aware object cache.
It maps an id to a unique instance, and provides references to it, which
are dropped when the cycle's pool is destroyed.

The cache will be used in subsequent patches.

Based on previous work by Mini Hawthorne.
auto/modules
src/event/ngx_event_openssl.h
src/event/ngx_event_openssl_cache.c [new file with mode: 0644]