|
@@ -111,7 +111,8 @@ public class ServletUtils {
|
|
|
long lpos= flens[1].length()>0?Long.valueOf(flens[1]):sf.length()-1; //表示文件读取文件大小
|
|
|
|
|
|
rinfo.skipLenth=fpos;
|
|
|
- rinfo.content_Length=lpos-fpos+1;
|
|
|
+// rinfo.content_Length=lpos-fpos+1;
|
|
|
+ rinfo.content_Length=sf.length();
|
|
|
rinfo.content_Range=ranplits[0]+" "+fpos+"-"+lpos+"/"+sf.length();
|
|
|
}
|
|
|
return rinfo;
|