ngx_openssl_module

定义在 src/event/ngx_event_openssl.c

复制代码
static ngx_core_module_t  ngx_openssl_module_ctx = {
    ngx_string("openssl"),
    ngx_openssl_create_conf,
    NULL
};


ngx_module_t  ngx_openssl_module = {
    NGX_MODULE_V1,
    &ngx_openssl_module_ctx,               /* module context */
    ngx_openssl_commands,                  /* module directives */
    NGX_CORE_MODULE,                       /* module type */
    NULL,                                  /* init master */
    NULL,                                  /* init module */
    NULL,                                  /* init process */
    NULL,                                  /* init thread */
    NULL,                                  /* exit thread */
    NULL,                                  /* exit process */
    ngx_openssl_exit,                      /* exit master */
    NGX_MODULE_V1_PADDING
};

ngx_openssl_module 是一个核心模块,其主要作用是 集成 OpenSSL 库以支持 SSL/TLS 加密通信

ngx_openssl_create_conf-CSDN博客

相关推荐
UP_Continue2 分钟前
Linux--基础IO
linux·运维·服务器
Jm_洋洋3 分钟前
【C++进阶】虚函数、虚表与虚指针:多态底层机制剖析
java·开发语言·c++
小马爱打代码5 分钟前
MyBatis:缓存体系设计与避坑大全
java·缓存·mybatis
驱动探索者7 分钟前
linux hwspinlock 学习
linux·运维·学习
FJW0208147 分钟前
使用HAProxy实现动静分离
linux·服务器
头发还没掉光光7 分钟前
Linux 高级 IO 深度解析:从 IO 本质到 epoll全面讲解
linux·服务器·c语言·c++
爱装代码的小瓶子8 分钟前
【C++与Linux基础】进程如何打开磁盘文件:从open()到文件描述符的奇妙旅程(更多源码讲解)
linux·开发语言·c++
时艰.10 分钟前
Java 并发编程:Callable、Future 与 CompletableFuture
java·网络
RisunJan11 分钟前
Linux命令-logout(安全结束当前登录会话)
linux·运维·安全
码云数智-园园12 分钟前
深入理解与正确实现 .NET 中的 BackgroundService
java·开发语言