Mercurial > hg > nginx
changeset 781:836f099aa5cb
allow ranges for full flv files
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 16 Oct 2006 07:47:00 +0000 |
parents | 6826f3b657d4 |
children | 37d600dbe9f6 |
files | src/http/modules/ngx_http_flv_module.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/http/modules/ngx_http_flv_module.c Fri Oct 13 15:47:56 2006 +0000 +++ b/src/http/modules/ngx_http_flv_module.c Mon Oct 16 07:47:00 2006 +0000 @@ -214,8 +214,12 @@ 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;