winshining / nginx-http-flv-module

A media streaming server based on nginx-rtmp-module. In addtion to the features nginx-rtmp-module provides, HTTP-FLV, GOP cache, VHosts (one IP for multi domain names) and JSON style statistics are supported now.
BSD 2-Clause "Simplified" License
2.72k stars 567 forks source link

[bug] post_accept_timeout struct element is removed in 1.19.7 #194

Closed darix closed 3 years ago

darix commented 3 years ago
../nginx-http-flv-module/ngx_rtmp.c:817:9: error: 'ngx_listening_t {aka struct ngx_listening_s}' has no member named 'post_accept_timeout'; did you mean 'post_accept_buffer_size'?
  ls->post_accept_timeout = 60000;

in 1.19.6 the code was

./nginx-1.19.6/src/core/ngx_connection.h:    ngx_msec_t          post_accept_timeout;
./nginx-1.19.6/src/http/ngx_http.c:    ls->post_accept_timeout = cscf->client_header_timeout;

maybe that structure element could be used to fix the code in this module.

winshining commented 3 years ago

See #191