Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fastdfs-nginx-module 能否增加url参数支持断点续传 #50

Closed
GoogleCodeExporter opened this issue Aug 14, 2015 · 2 comments
Closed

Comments

@GoogleCodeExporter
Copy link

如题:我们在做视频类服务时,由于flash 
player沙箱限制无法传入Range 
Header.悲剧啊,期望能够支持url方式设置起始点,类似ngx_http_flv
_module.c支持的功能,如:
http://xxx/group1/M01/00/3F/oYYBAFIWCDaAQPNDALsm3btjELI896.flv?start=10240

Original issue reported on code.google.com by hailong...@163.com on 23 Aug 2013 at 8:03

@GoogleCodeExporter
Copy link
Author

发现fastdfs-nginx-module_v1.15已对flv支持,但有BUG,已解决.
BUG详情如下

common.c
.......
1053                int64_t start;
1054                if (fdfs_strtoll(pStart, &start) == 0)
1055                {
1056                int64_t start = 0;
1057                if (start >= 0 && (start < file_size \
1058                    || file_size < 0))
1059                {
......

1056行关于start重复赋值,应当删除这句


Original comment by hailong...@163.com on 28 Aug 2013 at 1:10

@GoogleCodeExporter
Copy link
Author

已经修复了,谢谢反馈!

Original comment by happyfis...@gmail.com on 19 Sep 2013 at 2:35

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant