Re: I-D Action: draft-ietf-httpbis-resumable-upload-12.txt

On 8/4/26 03:46, Daniel Stenberg wrote:
> On Tue, 4 Aug 2026, Stefan Matsson wrote:
> 
>> I'm not sure why it would be any different? The upload part of it is just
>> bytes being sent over the wire?
> 
> The challenging part is not in the actual transfer, it is the mime boundaries 
> that are randomly generated and used in the content. In a resumed transfer 
> they need to be "randomly generated" exactly the same as in the previously 
> interrupted upload attempt.
> 
>> From a client perspective you would need to keep some kind of buffer for 
>> replaying if the connection breaks down and you wish to resume.
> 
> It needs a way to use the same boundaries again when it sends the resumed 
> part. For curl/libcurl at least, that's not an ability that is exposed to 
> users so we would need to introduce something new in order to be able to 
> resume such an upload.
> 
> But none of that is actually part of the resume protocol, it is just details 
> around it that makes it tricky to resume some uploads on the web. Assuming 
> general web servers will support it.
> 
> Sorry, I digress. I'm just venting now.

What about using a cryptographic hash of the content?  For a strong hash
function with sufficiently long output, finding input that contains its
own encoded is presumably infeasible.
-- 
Sincerely,
Demi Marie Obenour (she/her/hers)

Received on Tuesday, 4 August 2026 14:56:41 UTC