Skip to content

Commit

Permalink
add http 206 support
Browse files Browse the repository at this point in the history
  • Loading branch information
edwin committed Nov 2, 2024
1 parent f45c270 commit 904c8ab
Show file tree
Hide file tree
Showing 5 changed files with 260 additions and 90 deletions.
2 changes: 1 addition & 1 deletion src/http/modules/ngx_http_mp4_module.c
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ ngx_http_mp4_handler(ngx_http_request_t *r)
}

if (start >= 0) {
r->single_range = 1;
r->only_support_ascending_ranges = 1;

mp4 = ngx_pcalloc(r->pool, sizeof(ngx_http_mp4_file_t));
if (mp4 == NULL) {
Expand Down
Loading

0 comments on commit 904c8ab

Please sign in to comment.