zhoufwind/fastdfs

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

Closed this issue · 2 comments

如题:我们在做视频类服务时,由于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

发现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

已经修复了,谢谢反馈!

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

  • Changed state: Fixed