Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ngx_lua_version check error when using stream #78

Open
supernev opened this issue Aug 14, 2018 · 0 comments
Open

ngx_lua_version check error when using stream #78

supernev opened this issue Aug 14, 2018 · 0 comments

Comments

@supernev
Copy link

Version: openresty 1.13.6.2
Error:
/usr/local/openresty/lualib/resty/mysql.lua:31: ngx_lua 0.9.11+ required
Description:
In /usr/local/openresty/lualib/resty/core/base.lua line 25, resty set ngx.config.ngx_lua_version to ngx_stream_lua_module version 5.

How to fix:
Should only check ngx_lua_version < 9011 when subsystem=="http".

supernev pushed a commit to supernev/lua-resty-mysql that referenced this issue Aug 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant