Coding Global Background
Coding Global

I am trying to compile nginx 1.21 with this module socks-nginx-module

Archived 3 years ago
0 messages
1 members
3 years ago
Open in Discord
B
Devil
Verified

Hello, I am trying to compile https://github.com/yorkane/socks-nginx-module with nginx 1.21, but keep getting this error: ` nginx/socks-nginx-module/src/ngx_http_socks_module.c: In function ‘ngx_http_socks_create_request’: nginx/socks-nginx-module/src/ngx_http_socks_module.c:991:33: error: ‘ngx_http_request_t’ {aka ‘struct ngx_http_request_s’} has no member named ‘space_in_uri’; did you mean ‘plus_in_uri’? 991 | if (r->quoted_uri || r->space_in_uri || r->internal) { | ^~~~~~~~~~~~ | plus_in_uri nginx/socks-nginx-module/src/ngx_http_socks_module.c: In function ‘ngx_http_socks_init_headers’: nginx/socks-nginx-module/src/ngx_http_socks_module.c:3260:26: warning: cast between incompatible function types from ‘size_t (*)(ngx_http_script_engine_t *)’ {aka ‘long unsigned int (*)(ngx_http_script_engine_t *)’} to ‘void (*)(ngx_http_script_engine_t *)’ [-Wcast-function-type] 3260 | copy->code = (ngx_http_script_code_pt) | ^ nginx/socks-nginx-module/src/ngx_http_socks_module.c:3295:26: warning: cast between incompatible function types from ‘size_t (*)(ngx_http_script_engine_t *)’ {aka ‘long unsigned int (*)(ngx_http_script_engine_t *)’} to ‘void (*)(ngx_http_script_engine_t *)’ [-Wcast-function-type] 3295 | copy->code = (ngx_http_script_code_pt) | ^ nginx/socks-nginx-module/src/ngx_http_socks_module.c:3336:26: warning: cast between incompatible function types from ‘size_t (*)(ngx_http_script_engine_t *)’ {aka ‘long unsigned int (*)(ngx_http_script_engine_t *)’} to ‘void (*)(ngx_http_script_engine_t *)’ [-Wcast-function-type] 3336 | copy->code = (ngx_http_script_code_pt) | ^ make[2]: *** [objs/Makefile:3343: objs/addon/src/ngx_http_socks_module.o] Error 1` I am willing to pay a Bugbounty of 100€