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

(#562) Fix a request not getting canceled when encountering a 404 response from the server #575

Merged
merged 1 commit into from
Feb 7, 2020

Conversation

K1rakishou
Copy link

If we encounter an exception in ChunkPersister and the current state is Running, that's find, that just means that an exception other than CancellationException was thrown. So that means that we only need to
do the canceling of the current request, pass the exception downstream and that's it. It will be handled by the downstream.

Closes #562

…ponse from the server

If we encounter an exception in ChunkPersister and the current state is Running, that's find, that just means that an exception other than CancellationException was thrown. So that means that we only need to
do the canceling of the current request, pass the exception downstream and that's it. It will be handled by the downstream.
@Adamantcheese Adamantcheese merged commit 262451d into multi-feature Feb 7, 2020
@K1rakishou K1rakishou deleted the (#562)-chunk-merger-fix branch February 7, 2020 07:33
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.

unfriendly message when 404 on images
2 participants