Skip to content

Commit abaa66e

Browse files
committed
fix(ssl) support ngx_lua 10025
1 parent d51ba79 commit abaa66e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/resty/openssl/auxiliary/nginx.lua

+2-1
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ else
168168
return ssl.session_ctx
169169
end
170170

171+
-- https://github.com/openresty/stream-lua-nginx-module/blob/master/src/ngx_stream_lua_socket_tcp.h
171172
ffi.cdef[[
172173
typedef struct ngx_http_lua_socket_tcp_upstream_s
173174
ngx_http_lua_socket_tcp_upstream_t;
@@ -213,7 +214,7 @@ else
213214
ngx.config.ngx_lua_version and
214215
ngx.config.ngx_lua_version
215216

216-
if ngx_lua_version >= 10019 and ngx_lua_version <= 10021 then
217+
if ngx_lua_version >= 10019 and ngx_lua_version <= 10025 then
217218
-- https://github.com/openresty/lua-nginx-module/blob/master/src/ngx_http_lua_socket_tcp.h
218219
ffi.cdef[[
219220
typedef struct {

0 commit comments

Comments
 (0)