openresty / openresty/stream-lua-nginx-module
tha lastest openresty and stream-lua-nginx-module ,has no member named ‘privileged_agent_connections’
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 749
- Forks
- 210
- Avg merge
- 4h 31m
- Merged PRs (30d)
- 3
Description
hello, i use the latest openresty is openresty-1.19.9.1 and the latest of stream-lua-nginx-module in stream-lua-nginx-module-0.0.11rc1
this is my configure command
./configure --prefix=/usr/local/openresty --with-luajit --without-http_redis2_module --with-http_iconv_module --with-stream --add-module=../stream-lua-nginx-module-0.0.11rc1
the configure is ok
but the make takes same error issues/258
/home/ubuntu/nginx-test/openrestry/openresty-1.19.9.1/../stream-lua-nginx-module-0.0.11rc1/src/ngx_stream_lua_worker.c: In function ‘ngx_stream_lua_ffi_enable_privileged_agent’:
/home/ubuntu/nginx-test/openrestry/openresty-1.19.9.1/../stream-lua-nginx-module-0.0.11rc1/src/ngx_stream_lua_worker.c:124:8: error: ‘ngx_core_conf_t {aka struct <anonymous>}’ has no member named ‘privileged_agent_connections’
ccf->privileged_agent_connections = connections;
^
objs/Makefile:3278: recipe for target 'objs/addon/src/ngx_stream_lua_worker.o' failed
make[2]: *** [objs/addon/src/ngx_stream_lua_worker.o] Error 1
make[2]: Leaving directory '/home/ubuntu/nginx-test/openrestry/openresty-1.19.9.1/build/nginx-1.19.9'
Makefile:10: recipe for target 'build' failed
make[1]: *** [build] Error 2
make[1]: Leaving directory '/home/ubuntu/nginx-test/openrestry/openresty-1.19.9.1/build/nginx-1.19.9'
Makefile:4: recipe for target 'all' failed
make: *** [all] Error 2
is this bugfixed? thank you help.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with src/ngx_stream_lua_worker.c, especially ngx_stream_lua_ffi_enable_privileged_agent, and compare its use of privileged_agent_connections with the OpenResty 1.19.9.1 build. Reproduce the reported make failure using the configure command and versions in the issue; done means the module builds successfully with that OpenResty release.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, nginx
- Domain
- backend, build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100