File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ of this library in the particular OpenResty release you are using. Otherwise you
108
108
into serious compatibility issues.
109
109
110
110
* LuaJIT 2.1 (for now, it is the v2.1 git branch in the official luajit-2.0 git repository: http://luajit.org/download.html )
111
- * [ ngx_http_lua_module] ( https://github.com/openresty/lua-nginx-module ) v0.10.16.
111
+ * [ ngx_http_lua_module] ( https://github.com/openresty/lua-nginx-module ) v0.10.16 or v0.10.17 .
112
112
* [ ngx_stream_lua_module] ( https://github.com/openresty/stream-lua-nginx-module ) v0.0.8.
113
113
* [ lua-resty-lrucache] ( https://github.com/openresty/lua-resty-lrucache )
114
114
Original file line number Diff line number Diff line change @@ -16,11 +16,12 @@ local FREE_LIST_REF = 0
16
16
17
17
18
18
if subsystem == ' http' then
19
+ local ngx_lua_v = ngx .config .ngx_lua_version
19
20
if not ngx .config
20
21
or not ngx .config .ngx_lua_version
21
- or ngx . config . ngx_lua_version ~= 10016
22
+ or ( ngx_lua_v ~= 10016 and ngx_lua_v ~= 10017 )
22
23
then
23
- error (" ngx_http_lua_module 0.10.16 required" )
24
+ error (" ngx_http_lua_module 0.10.16 or 0.10.17 required" )
24
25
end
25
26
26
27
elseif subsystem == ' stream' then
You can’t perform that action at this time.
0 commit comments