Skip to content

Conversation

@dochost
Copy link

@dochost dochost commented Mar 10, 2020

No description provided.

@abhishekhp
Copy link

I see the folliowing errors when i use this code

/root/nginx/nginx_upstream_check_module-abhi/ngx_http_upstream_check_module.c: In function ‘ngx_http_upstream_check_add_timers’:
/root/nginx/nginx_upstream_check_module-abhi/ngx_http_upstream_check_module.c:1039:5: warning: implicit declaration of function ‘is_https_check’ [-Wimplicit-function-declaration]
if(is_https_check(&peer[i])){
^
/root/nginx/nginx_upstream_check_module-abhi/ngx_http_upstream_check_module.c:1040:6: warning: implicit declaration of function ‘ngx_ssl_create’ [-Wimplicit-function-declaration]
ngx_ssl_create(&ucscf->ssl, NGX_SSL_SSLv3 | NGX_SSL_TLSv1,0);
^
/root/nginx/nginx_upstream_check_module-abhi/ngx_http_upstream_check_module.c:1040:27: error: ‘ngx_http_upstream_check_srv_conf_t’ has no member named ‘ssl’
ngx_ssl_create(&ucscf->ssl, NGX_SSL_SSLv3 | NGX_SSL_TLSv1,0);
^
/root/nginx/nginx_upstream_check_module-abhi/ngx_http_upstream_check_module.c:1040:34: error: ‘NGX_SSL_SSLv3’ undeclared (first use in this function)
ngx_ssl_create(&ucscf->ssl, NGX_SSL_SSLv3 | NGX_SSL_TLSv1,0);
^
/root/nginx/nginx_upstream_check_module-abhi/ngx_http_upstream_check_module.c:1040:34: note: each undeclared identifier is reported only once for each function it appears in
/root/nginx/nginx_upstream_check_module-abhi/ngx_http_upstream_check_module.c:1040:50: error: ‘NGX_SSL_TLSv1’ undeclared (first use in this function)
ngx_ssl_create(&ucscf->ssl, NGX_SSL_SSLv3 | NGX_SSL_TLSv1,0);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants