Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
HTTP/2 uploads larger than 2^64 bytes aren't reliable #996
I did this
Send an upload to a server using HTTP/2 without the size set before-hand. (If the size is set, it is limited to 64bit.) due to the logic that still decreases the "upload left" counter even when the size is unknown, it may reach zero accidentally after 2^64 bytes have been transferred even if the transfer hasn't actually ended.
I expected the following
curl should allow the upload stream to go on forever.
Note: I have a patch in progress for this already, but I'm holding it off until after the pending release to give it more time to mature.