Browse Source

fix s3cmd put

1. fix volume put data size
pull/815/head
Chris Lu 6 years ago
parent
commit
d5ebfd5b0c
  1. 1
      weed/storage/needle.go

1
weed/storage/needle.go

@ -66,6 +66,7 @@ func ParseUpload(r *http.Request) (
mimeType = r.Header.Get("Content-Type")
fileName = ""
data, e = ioutil.ReadAll(r.Body)
originalDataSize = len(data)
}
if e != nil {
return

Loading…
Cancel
Save