For stream protocol. syncing upstreams from etcd or consul and so on, dynamically updating backend servers attribute, not need to reload nginx for tcp protocol, stream configure.
在使用nginx-1.9.[0-2]版本的源码上编译改模块的代码时报如下错误:
/nginx-stream-upsync-module/src/ngx_stream_upsync_module.c
./nginx-stream-upsync-module/src/ngx_stream_upsync_module.c: In function ‘ngx_stream_upsync_del_delay_delete’:
./nginx-stream-upsync-module/src/ngx_stream_upsync_module.c:2935: error: ‘ngx_stream_upstream_t’ has no member named ‘start_sec’
make[1]: * [objs/addon/src/ngx_stream_upsync_module.o] Error 1
make[1]: Leaving directory `/data/apps/opt/nginx-1.9.2'
make: * [build] Error 2
在使用nginx-1.9.[0-2]版本的源码上编译改模块的代码时报如下错误: /nginx-stream-upsync-module/src/ngx_stream_upsync_module.c ./nginx-stream-upsync-module/src/ngx_stream_upsync_module.c: In function ‘ngx_stream_upsync_del_delay_delete’: ./nginx-stream-upsync-module/src/ngx_stream_upsync_module.c:2935: error: ‘ngx_stream_upstream_t’ has no member named ‘start_sec’ make[1]: * [objs/addon/src/ngx_stream_upsync_module.o] Error 1 make[1]: Leaving directory `/data/apps/opt/nginx-1.9.2' make: * [build] Error 2