Skip to content

ngx_lua_version check error when using stream #78

@supernev

Description

@supernev

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions