-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PUT overwriting chunk uses wrong code path #32291
Comments
Request headers of aborted call (I made anther one not aborted to get real headers, else I'd get only "provisional headers")
Request headers of subsequent call:
|
Ok, so the first call uses I'm not sure if this is good... We're supposed to go straight to storage using So the bug here is that overwriting an existing chunk doesn't go to "createFileDirectly" but the other route. This also means that when trying to test "retry the same chunk several times" one would need to put a |
The overwrite of chunks is triggered here on retry: https://github.com/owncloud/core/blob/10.0.9-resuming-chunks/apps/files/js/file-upload.js#L1130 |
Seems we'll need a |
Blocker for testing #32282
Steps
occ config:app:set files upload_stall_timeout --value 5
So far my observation is that whenever a chunk is aborted on the JS side, there is suddenly a second request to the same URL, and here somehow it bypasses the code path leading to
createFileDirectly
but goes toSabre\File::put
instead.@VicDeo @DeepDiver1975
The text was updated successfully, but these errors were encountered: