Closed AlexKordic closed 2 years ago
In newfileUploadRequest() func we have read of entire input into memory io.Copy(part, fData) before starting HTTP request.
newfileUploadRequest()
io.Copy(part, fData)
The fData is stdin in catalyst-uploader project.
fData
stdin
Mist output binaries should read input at same pace as output is written. Caching entire input before starting output hurts Mist server workflow.
In
newfileUploadRequest()
func we have read of entire input into memoryio.Copy(part, fData)
before starting HTTP request.The
fData
isstdin
in catalyst-uploader project.Mist output binaries should read input at same pace as output is written. Caching entire input before starting output hurts Mist server workflow.