# HG changeset patch # User Igor Sysoev # Date 1160984820 0 # Node ID 836f099aa5cb7ae970c07a7a729be7c253728477 # Parent 6826f3b657d4a56a1b235cd607a7079087929145 allow ranges for full flv files diff --git a/src/http/modules/ngx_http_flv_module.c b/src/http/modules/ngx_http_flv_module.c --- a/src/http/modules/ngx_http_flv_module.c +++ b/src/http/modules/ngx_http_flv_module.c @@ -214,8 +214,12 @@ ngx_http_flv_handler(ngx_http_request_t out[0].buf = b; out[0].next = &out[1]; + + } else { + r->allow_ranges = 1; } + b = ngx_pcalloc(r->pool, sizeof(ngx_buf_t)); if (b == NULL) { return NGX_HTTP_INTERNAL_SERVER_ERROR;