Skip to content

Avoid http-level retries during upload requests#556

Open
olzhasar-reef wants to merge 1 commit intomasterfrom
avoid-b2http-retries-upload
Open

Avoid http-level retries during upload requests#556
olzhasar-reef wants to merge 1 commit intomasterfrom
avoid-b2http-retries-upload

Conversation

@olzhasar-reef
Copy link
Collaborator

This PR fixes the b2http logic to avoid any retries during the upload
requests. Previously, the http layer would still proceed with retries
during upload failures, preventing the upload manager from issuing a new
upload token.
There was a workaround only for timeout errors, but it didn't quite work as
expected.

@olzhasar-reef olzhasar-reef force-pushed the avoid-b2http-retries-upload branch 2 times, most recently from b00e648 to bc212bb Compare February 16, 2026 19:48
Pass try_count=1 to b2http during upload requests to force token refresh
on errors. This change also eliminates the need for a previous
B2RequestTimeoutDuringUpload workaround, so it's removed. The exception
itself is preserved, as it's a part of the public API.
@olzhasar-reef olzhasar-reef force-pushed the avoid-b2http-retries-upload branch from bc212bb to b16641d Compare February 16, 2026 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant