aboutsummaryrefslogtreecommitdiff
path: root/auto
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2024-09-09 19:03:20 +0400
committerpluknet <pluknet@nginx.com>2024-10-01 17:59:24 +0400
commit7d7e8d2cb8d16e409e0d4c777b30f1d8d7838c7b (patch)
treeb8b56a02e144614210e6eb18820e0c0337c84722 /auto
parentf36ff3550a7271a618edb119f064dddd086cc380 (diff)
downloadnginx-7d7e8d2cb8d16e409e0d4c777b30f1d8d7838c7b.tar.gz
nginx-7d7e8d2cb8d16e409e0d4c777b30f1d8d7838c7b.zip
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.
Diffstat (limited to 'auto')
-rw-r--r--auto/modules3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto/modules b/auto/modules
index 1a5e4212d..38b3aba78 100644
--- a/auto/modules
+++ b/auto/modules
@@ -1307,10 +1307,11 @@ fi
if [ $USE_OPENSSL = YES ]; then
ngx_module_type=CORE
- ngx_module_name=ngx_openssl_module
+ ngx_module_name="ngx_openssl_module ngx_openssl_cache_module"
ngx_module_incs=
ngx_module_deps=src/event/ngx_event_openssl.h
ngx_module_srcs="src/event/ngx_event_openssl.c
+ src/event/ngx_event_openssl_cache.c
src/event/ngx_event_openssl_stapling.c"
ngx_module_libs=
ngx_module_link=YES