forked from cep21/healthcheck_nginx_upstreams
-
Notifications
You must be signed in to change notification settings - Fork 484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compilation issue with --with-http_perl_module #2
Comments
Thanks for your bug report. I have fix the problem in the new revision. I'm sorry I have not tested the perl module ever before. |
Closed
rq0net
pushed a commit
to rq0net/nginx_upstream_check_module
that referenced
this issue
Dec 9, 2020
expose an api ngx_http_upstream_check_upstream_down for check upstream status
ngarratt
pushed a commit
to ngarratt/nginx_upstream_check_module
that referenced
this issue
Jul 5, 2023
LUA-656 added support for ssl (e.g., HTTPS)
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When compiling with --with-http_perl_module, ngx_http_upstream_check_handler.h included in ngx_http_upstream_round_robin.h cannot be found, because the $ngx_addon_dir is not included by src/http/modules/perl/Makefile.PL
Adding this to ngx_http_upstream_round_robin.c instead ngx_http_upstream_round_robin.h seems to fix the problem :
if (NGX_UPSTREAM_CHECK_MODULE)
include "ngx_http_upstream_check_handler.h"
endif
And adding #include "ngx_http_upstream_check_handler.h" in ngx_http_upstream_check_handler.c
The text was updated successfully, but these errors were encountered: