Skip to content

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

Merged
Adamantcheese merged 1 commit into
multi-featurefrom
(#562)-chunk-merger-fix
Feb 7, 2020
Merged

(#562) Fix a request not getting canceled when encountering a 404 response from the server#575
Adamantcheese merged 1 commit into
multi-featurefrom
(#562)-chunk-merger-fix

Conversation

@K1rakishou

Copy link
Copy Markdown

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