openresty / stream-lua-nginx-module

Embed the power of Lua into NGINX TCP/UDP servers
BSD 2-Clause "Simplified" License
728 stars 198 forks source link

ngx_stream_lua_merge_srv_conf compile error without NGX_STREAM_SSL #218

Open crasyangel opened 4 years ago

crasyangel commented 4 years ago

https://github.com/openresty/stream-lua-nginx-module/blob/1a1e49bd4be0f858818c4f133a06e2ac9a2ab306/src/ngx_stream_lua_module.c#L790

The macro NGX_STREAM_SSL in the wrong place

spacewander commented 4 years ago

Would you provide a fix in https://github.com/openresty/meta-lua-nginx-module/blob/master/src/subsys/ngx_subsys_lua_module.c.tt2?