Skip to content

Commit 4157ed3

Browse files
committed
change: we now require ngx_http_lua v0.10.15.
1 parent c99fbaf commit 4157ed3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ of this library in the particular OpenResty release you are using. Otherwise you
9797
into serious comaptibility issues.
9898

9999
* 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 )
100-
* [ngx_http_lua_module](https://github.com/openresty/lua-nginx-module) v0.10.14.
100+
* [ngx_http_lua_module](https://github.com/openresty/lua-nginx-module) v0.10.15.
101101
* [ngx_stream_lua_module](https://github.com/openresty/lua-nginx-module) v0.0.6.
102102
* [lua-resty-lrucache](https://github.com/openresty/lua-resty-lrucache)
103103

lib/resty/core/base.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ local FREE_LIST_REF = 0
1818
if subsystem == 'http' then
1919
if not ngx.config
2020
or not ngx.config.ngx_lua_version
21-
or ngx.config.ngx_lua_version ~= 10014
21+
or ngx.config.ngx_lua_version ~= 10015
2222
then
23-
error("ngx_http_lua_module 0.10.14 required")
23+
error("ngx_http_lua_module 0.10.15 required")
2424
end
2525

2626
elseif subsystem == 'stream' then
@@ -32,7 +32,7 @@ elseif subsystem == 'stream' then
3232
end
3333

3434
else
35-
error("ngx_http_lua_module 0.10.14 or "
35+
error("ngx_http_lua_module 0.10.15 or "
3636
.. "ngx_stream_lua_module 0.0.6 required")
3737
end
3838

0 commit comments

Comments
 (0)