Skip to content

Commit 57128f5

Browse files
committed
now we require at least ngx_lua 0.10.7.
1 parent b14b0da commit 57128f5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ Prerequisites
8484
=============
8585

8686
* 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 )
87-
* [ngx_lua](https://github.com/openresty/lua-nginx-module) v0.10.6 or later.
87+
* [ngx_lua](https://github.com/openresty/lua-nginx-module) v0.10.7 or later.
8888
* [lua-resty-lrucache](https://github.com/openresty/lua-resty-lrucache)
8989

9090
[Back to TOC](#table-of-contents)

lib/resty/core/base.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ local FREE_LIST_REF = 0
1515

1616
if not ngx.config
1717
or not ngx.config.ngx_lua_version
18-
or ngx.config.ngx_lua_version < 10006
18+
or ngx.config.ngx_lua_version < 10007
1919
then
20-
error("ngx_lua 0.10.6+ required")
20+
error("ngx_lua 0.10.7+ required")
2121
end
2222

2323

0 commit comments

Comments
 (0)