Coder Social home page Coder Social logo

zhouchangxun / ngx_stream_upstream_check_module Goto Github PK

View Code? Open in Web Editor NEW
22.0 6.0 10.0 35 KB

nginx health checker (tcp/udp/http) for stream upstream servers.

Shell 0.27% C 99.73%
nginx stream health-check loadbalancer upstream-server healthcheck udp-proxy udp

ngx_stream_upstream_check_module's Issues

not compiled. version nginx 1.12.2

cc -c -pipe  -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Werror -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -I src/core -I src/event -I src/event/modules -I src/os/unix -I /home/kotin/ngx_stream_upstream_check_module-master -I objs -I src/stream \
	-o objs/src/stream/ngx_stream_upstream_round_robin.o \
	src/stream/ngx_stream_upstream_round_robin.c
src/stream/ngx_stream_upstream_round_robin.c: In function ‘ngx_stream_upstream_init_round_robin’:
src/stream/ngx_stream_upstream_round_robin.c:114:25: error: too few arguments to function ‘ngx_stream_upstream_check_add_peer’
                         ngx_stream_upstream_check_add_peer(cf, us, &server[i].addrs[j]);
                         ^
In file included from src/stream/ngx_stream_upstream_round_robin.c:13:0:
/home/kotin/ngx_stream_upstream_check_module-master/ngx_stream_upstream_check_module.h:10:12: note: declared here
 ngx_uint_t ngx_stream_upstream_check_add_peer(ngx_conf_t *cf,
            ^
src/stream/ngx_stream_upstream_round_robin.c:188:25: error: too few arguments to function ‘ngx_stream_upstream_check_add_peer’
                         ngx_stream_upstream_check_add_peer(cf, us, &server[i].addrs[j]);
                         ^
In file included from src/stream/ngx_stream_upstream_round_robin.c:13:0:
/home/kotin/ngx_stream_upstream_check_module-master/ngx_stream_upstream_check_module.h:10:12: note: declared here
 ngx_uint_t ngx_stream_upstream_check_add_peer(ngx_conf_t *cf,
            ^
make[1]: *** [objs/src/stream/ngx_stream_upstream_round_robin.o] Error 1
make[1]: Leaving directory `/home/kotin/nginx-1.12.2'
make: *** [build] Error 2


not compiled. version nginx 1.12.2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.