stream-echo-nginx-module
stream-echo-nginx-module copied to clipboard
TCP/stream echo module for NGINX (a port of ngx_http_echo_module)
When I build the stream-echo-nginx-module, Complitation failed with the errors as flow, `ngx_stream_echo_module.c:1146:9: 错误:隐式声明函数‘ngx_stream_close_connection [-Werror=implicit-function-declaration] ngx_stream_close_connection(c); ` my gcc version is 4.8.5。 My nginx version is 1.15.9。
New test added which requires [this](https://github.com/openresty/test-nginx/pull/41) test_nginx pull request
https://travis-ci.org/chipitsine/stream-echo-nginx-module I wondered, how valgrind could help. It seems, it noisy, some findings should be muted. but it didn't give a clue on what's going on
``` ./configure --with-stream=dynamic --add-dynamic-module=../path/to/stream-echo-nginx-module ``` produces: ``` objs/addon/src/ngx_stream_echo_module.o: In function `ngx_stream_echo_helper.isra.15': ngx_stream_echo_module.c:(.text+0x4f8): undefined reference to `ngx_stream_core_module' objs/addon/src/ngx_stream_echo_module.o: In function `ngx_stream_echo_lingering_close_handler': ngx_stream_echo_module.c:(.text+0xeb7): undefined reference to `ngx_stream_close_connection' objs/addon/src/ngx_stream_echo_module.o: In function `ngx_stream_echo_finalize': ngx_stream_echo_module.c:(.text+0x1002):...