Skip to content
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

Retrying streamed data transmission #3

Open
csterling opened this issue Jul 2, 2020 · 0 comments
Open

Retrying streamed data transmission #3

csterling opened this issue Jul 2, 2020 · 0 comments
Assignees
Labels
back-burner Not a priority right now bug Something isn't working

Comments

@csterling
Copy link
Contributor

The client automatically handles refreshing and retrying requests which fail due to expired JWT tokens. This is achieved by attaching the same object to the retry request as was attached to the original (usually a JSON object, which is fine). However for file uploads the attached data may be a stream of bytes, which may be partly consumed by the original request.

Handle this case, possibly by buffering the part of the stream that is already consumed during the first transmission so it can be retransmitted on failure.

@csterling csterling added the bug Something isn't working label Jul 2, 2020
@csterling csterling self-assigned this Jul 2, 2020
@csterling csterling added the back-burner Not a priority right now label Jul 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
back-burner Not a priority right now bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant