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

Fix early context cancellation when downloading/previewing object #1846

Merged
merged 3 commits into from Apr 14, 2022

Conversation

dvaldivia
Copy link
Collaborator

Fixes #1844

Signed-off-by: Daniel Valdivia 18384552+dvaldivia@users.noreply.github.com

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
bexsoft
bexsoft previously approved these changes Apr 14, 2022
Copy link
Collaborator

@bexsoft bexsoft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Shouldn't be necessary to remove the defer on getDownloadFolderResponse too? https://github.com/minio/console/pull/1846/files#diff-a86613cb4d887c39c467b2ad63ebfed7ea9c8307866438a5df648e5a09035953R470-R472

Signed-off-by: Daniel Valdivia <18384552+dvaldivia@users.noreply.github.com>
@dvaldivia
Copy link
Collaborator Author

@bexsoft great catch

@dvaldivia dvaldivia merged commit f2c187b into minio:master Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needed High Priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

preview and download broken
4 participants