nginx-upsync-module
nginx-upsync-module copied to clipboard
upsync与nginx_upstream_check模块同时编译报错问题
你好,请问如下两个函数在check模块中没有找到,该怎么解决?,谢谢~

https://github.com/xiaokai-wang/nginx_upstream_check_module 使用此链接健康检测模块
您好,该模块https://github.com/xiaokai-wang/nginx_upstream_check_module 中没有看到1.14.0+的patch,请问是否支持nginx1.14.0+?
用check_1.12.1+.patch It works for nginx >= 1.12.1, including 1.13, 1.14 or 1.15
@gfrankliu upsync:https://github.com/weibocom/nginx-upsync-module,upstream_check :https://github.com/xiaokai-wang/nginx_upstream_check_module都是用pull的master,但是打补丁报错: cd nginx-upsync-module-master patch -p1 < /nginx_upstream_check_module-master/check_1.12.1+.patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was:
|diff -burN nginx-1.12.1_orig/src/http/modules/ngx_http_upstream_hash_module.c nginx-1.12.1/src/http/modules/ngx_http_upstream_hash_module.c |--- nginx-1.12.1_orig/src/http/modules/ngx_http_upstream_hash_module.c 2017-07-11 13:24:08.000000000 +0000 |+++ nginx-1.12.1/src/http/modules/ngx_http_upstream_hash_module.c 2017-07-13 17:58:44.687213233 +0000
File to patch: Skip this patch? [y] Skipping patch.
这个补丁是打在nginx上的。不是打在nginx-upsync-module-master
index = ngx_http_upstream_check_add_dynamic_peer(cycle->pool, uscf, addrs); peer->check_index = index;
编译提示 nginx_module/nginx-upsync-module-2.1.0/src/ngx_http_upsync_module.c:895: error: ‘ngx_http_upstream_rr_peer_t’ has no member named ‘check_index’