wandenberg/nginx-push-stream-module

Compilation fails for NGINX 1.24.0

Closed this issue · 1 comments

Errors like this:

In file included from src/core/ngx_core.h:65:0,
                 from nginx-push-stream-module-0.5.5/include/ngx_http_push_stream_module.h:30,
                 from nginx-push-stream-module-0.5.5/src/ngx_http_push_stream_module.c:26:
src/core/ngx_array.h:27:7: note: expected 'struct ngx_array_t *' but argument is of type 'struct ngx_table_elt_t **'
 void *ngx_array_push(ngx_array_t *a);
       ^
In file included from nginx-push-stream-module-0.5.5/src/ngx_http_push_stream_module.c:29:0:
nginx-push-stream-module-0.5.5/src/ngx_http_push_stream_module_utils.c:2196:53: error: request for member 'nelts' in something not a structure or union
         for (i = 1; i < r->headers_out.cache_control.nelts; i++) {
                                                     ^

@dvershinin This issue was solved on the master branch in 06/2022. Only a new tag was not released. Please, use the master branch code instead tag 0.5.5.