diff options
author | Igor Sysoev <igor@sysoev.ru> | 2006-10-16 07:47:00 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2006-10-16 07:47:00 +0000 |
commit | 9ab9f0a220444146de2519e2181e8438d051f52c (patch) | |
tree | 713ab5139fa0d690d1f967c69cf832c65a92e242 /src | |
parent | d54c497d972b3184ee6dbe01dbc08715f759b84d (diff) | |
download | nginx-9ab9f0a220444146de2519e2181e8438d051f52c.tar.gz nginx-9ab9f0a220444146de2519e2181e8438d051f52c.zip |
allow ranges for full flv files
Diffstat (limited to 'src')
-rw-r--r-- | src/http/modules/ngx_http_flv_module.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/modules/ngx_http_flv_module.c b/src/http/modules/ngx_http_flv_module.c index 6030b7ba0..52e456b1d 100644 --- 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 *r) 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; |