Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ jobs:
git clone https://github.com/openresty/openresty.git ../openresty
git clone https://github.com/openresty/openresty-devel-utils.git
git clone https://github.com/openresty/ngx_devel_kit.git ../ndk-nginx-module
git clone https://github.com/openresty/lua-nginx-module.git ../lua-nginx-module
# TEMPORARY, drop once ngx_lua 10033 is on master
git clone -b change/bump-0.10.33 https://github.com/oowl/lua-nginx-module.git ../lua-nginx-module
git clone https://github.com/openresty/no-pool-nginx.git ../no-pool-nginx
git clone https://github.com/openresty/echo-nginx-module.git ../echo-nginx-module
git clone https://github.com/openresty/lua-resty-lrucache.git
Expand Down
8 changes: 4 additions & 4 deletions lib/resty/core/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ local FREE_LIST_REF = 0
if subsystem == 'http' then
if not ngx.config
or not ngx.config.ngx_lua_version
or ngx.config.ngx_lua_version ~= 10032
or ngx.config.ngx_lua_version ~= 10033
then
local ver = ngx.config and tostring(ngx.config.ngx_lua_version) or 'nil'
error("ngx_http_lua_module 0.10.32 required but got " .. ver)
error("ngx_http_lua_module 0.10.33 required but got " .. ver)
end

elseif subsystem == 'stream' then
Expand All @@ -35,7 +35,7 @@ elseif subsystem == 'stream' then
end

else
error("ngx_http_lua_module 0.10.32 or "
error("ngx_http_lua_module 0.10.33 or "
.. "ngx_stream_lua_module 0.0.20 required")
end

Expand Down Expand Up @@ -143,7 +143,7 @@ local c_buf_type = ffi.typeof("char[?]")
local _M = new_tab(0, 18)


_M.version = "0.1.35"
_M.version = "0.1.36"
_M.new_tab = new_tab
_M.clear_tab = clear_tab

Expand Down
Loading