Hi, can you please update your patches and module to work with the latest nginx (1.19.9 now)?
OI have tried apply 1.12.x patch, but it not helpful
Error while configure:
-o objs/src/http/ngx_http_upstream.o \ src/http/ngx_http_upstream.c src/http/ngx_http_upstream.c:1508:1: error: static declaration of ‘ngx_http_upstream_connect’ follows non-static declaration ngx_http_upstream_connect(ngx_http_request_t *r, ngx_http_upstream_t *u) ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/http/ngx_http.h:34, from src/http/ngx_http_upstream.c:10: src/http/ngx_http_upstream.h:430:6: note: previous declaration of ‘ngx_http_upstream_connect’ was here void ngx_http_upstream_connect(ngx_http_request_t *r, ^~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [objs/Makefile:1133: objs/src/http/ngx_http_upstream.o] Error 1 make[1]: Leaving directory '/opt/nginx-1.19.9' make: *** [Makefile:10: build] Error 2
Hi, can you please update your patches and module to work with the latest nginx (1.19.9 now)?
OI have tried apply 1.12.x patch, but it not helpful
Error while configure:
-o objs/src/http/ngx_http_upstream.o \ src/http/ngx_http_upstream.c src/http/ngx_http_upstream.c:1508:1: error: static declaration of ‘ngx_http_upstream_connect’ follows non-static declaration ngx_http_upstream_connect(ngx_http_request_t *r, ngx_http_upstream_t *u) ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from src/http/ngx_http.h:34, from src/http/ngx_http_upstream.c:10: src/http/ngx_http_upstream.h:430:6: note: previous declaration of ‘ngx_http_upstream_connect’ was here void ngx_http_upstream_connect(ngx_http_request_t *r, ^~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [objs/Makefile:1133: objs/src/http/ngx_http_upstream.o] Error 1 make[1]: Leaving directory '/opt/nginx-1.19.9' make: *** [Makefile:10: build] Error 2