Closed
Description
When sending data out SDK reads the file (stream) until data runs out (according to my understanding of code) -- but content-length
has to be calculated before that.
I am not particularly versed in HTTP (or related layer SDK uses to talk HTTP), but what is going to happen if said file suddenly grows bigger before we reads it in it's entirety?
What if it grows smaller?
Did I discover a race condition that could lead to hanging requests, incorrect data at the end of the object and other interesting effects?