complete submit chunked file

This commit is contained in:
tnextday
2015-12-02 15:00:46 +08:00
parent de5e07ce3e
commit 2c0a7fe75e
4 changed files with 40 additions and 14 deletions

View File

@@ -85,10 +85,9 @@ func (cm *ChunkManifest) DeleteChunks(master string) error {
return nil
}
func (cm *ChunkManifest) StoredHelper() error {
//TODO
return nil
}
//func (cm *ChunkManifest) StoredHelper() error {
// return nil
//}
func httpRangeDownload(fileUrl string, w io.Writer, offset int64) (written int64, e error) {
req, err := http.NewRequest("GET", fileUrl, nil)