Skip to content

Prevent uploading the same chunk twice #17996

@PVince81

Description

@PVince81

In case the client sends the same chunk twice from the same file transfer id, return 409 Conflict.

This was observed here #17956 (comment)
It is unlikely to happen in a real environment, but it's always good to have some robustness in place.

The idea is that before rename the "part chunk" to the final chunk, make sure that there is no existing chunk already.

@DeepDiver1975 @icewind1991

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions