Skip to content
Merged
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
14 changes: 7 additions & 7 deletions lib/resty/core/base.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,22 @@ 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 ~= 10026
or ngx.config.ngx_lua_version ~= 10027
then
error("ngx_http_lua_module 0.10.26 required")
error("ngx_http_lua_module 0.10.27 required")
end

elseif subsystem == 'stream' then
if not ngx.config
or not ngx.config.ngx_lua_version
or ngx.config.ngx_lua_version ~= 14
or ngx.config.ngx_lua_version ~= 15
then
error("ngx_stream_lua_module 0.0.14 required")
error("ngx_stream_lua_module 0.0.15 required")
end

else
error("ngx_http_lua_module 0.10.26 or "
.. "ngx_stream_lua_module 0.0.14 required")
error("ngx_http_lua_module 0.10.27 or "
.. "ngx_stream_lua_module 0.0.15 required")
end


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


_M.version = "0.1.28"
_M.version = "0.1.29"
_M.new_tab = new_tab
_M.clear_tab = clear_tab

Expand Down