From 46ac30ecd62e8f599cbebb60d530a7ce6cade4d8 Mon Sep 17 00:00:00 2001 From: u5surf Date: Sun, 8 Feb 2026 09:39:53 +0900 Subject: [PATCH] bugfix: fix the compatibility issue for freenginx. --- src/ngx_http_lua_ssl_client_helloby.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ngx_http_lua_ssl_client_helloby.c b/src/ngx_http_lua_ssl_client_helloby.c index dc44bb757e..7a0a556b7f 100644 --- a/src/ngx_http_lua_ssl_client_helloby.c +++ b/src/ngx_http_lua_ssl_client_helloby.c @@ -222,6 +222,7 @@ ngx_http_lua_ssl_client_hello_handler(ngx_ssl_conn_t *ssl_conn, #if (nginx_version > 1029001) #ifdef SSL_CLIENT_HELLO_SUCCESS +#if !defined freenginx /* see commit 0373fe5d98c1515640 for more details */ rc = ngx_ssl_client_hello_callback(ssl_conn, al, arg); @@ -230,6 +231,7 @@ ngx_http_lua_ssl_client_hello_handler(ngx_ssl_conn_t *ssl_conn, } #endif #endif +#endif #if (nginx_version < 1017009) ngx_reusable_connection(c, 0);