repsheet/ngx_bot_verifier

Not compatible with NGINX 1.23.0

Opened this issue · 2 comments

Compilation fails with:

ngx_bot_verifier-0.0.10/ngx_http_bot_verifier_address_tools.c: In function 'ngx_http_bot_verifier_module_determine_address':
ngx_bot_verifier-0.0.10/ngx_http_bot_verifier_address_tools.c:44:28: error: initialization of 'ngx_array_t *' from incompatible pointer type 'ngx_table_elt_t **' {aka 'struct ngx_table_elt_s **'} [-Werror=incompatible-pointer-types]
   44 |   ngx_array_t *ngx_array = &r->headers_in.x_forwarded_for;
      |                            ^

thanks for reporting. I'll take a look

@abedra Please see pull request #18 for this. (tests proceed fine)