fix s3cmd put

1. fix volume put data size
This commit is contained in:
Chris Lu 2019-01-02 12:57:33 -08:00
parent 3339325334
commit d5ebfd5b0c

View file

@ -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