TeslaGov/ngx-http-auth-jwt-module

facing error while adding this module to nginx 1.24.0

vkatoch2000 opened this issue · 0 comments

### Error details
316.2 ../ngx-http-auth-jwt-module/src/ngx_http_auth_jwt_module.c:657:9: error: too few arguments to function 'ngx_http_parse_multi_header_lines'
316.2 if (ngx_http_parse_multi_header_lines(&r->headers_in.cookies, &jwt_location, &jwtCookieVal) != NGX_DECLINED)
316.2 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
316.2 In file included from ../ngx-http-auth-jwt-module/src/ngx_http_auth_jwt_module.c:12:0:
316.2 src/http/ngx_http.h:106:18: note: declared here
316.2 ngx_table_elt_t *ngx_http_parse_multi_header_lines(ngx_http_request_t *r,
316.2 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
316.3 cc1: all warnings being treated as errors
316.3 make[1]: *** [objs/addon/src/ngx_http_auth_jwt_module.o] Error 1
316.3 make[1]: Leaving directory `/usr/src/nginx-1.24.0'
316.3 make: *** [build] Error 2

As per script , [ngx-http-auth-jwt-module] should support nginx 1.24.0