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(ext/cache): prevent cache insert if body is not fully written #16138

Merged
merged 2 commits into from
Oct 5, 2022

Conversation

marcosc90
Copy link
Contributor

This PR fixes the cache from being corrupt if a response body is not fully written. The provided test fails on main

@satyarohith satyarohith self-requested a review October 3, 2022 16:20
Copy link
Member

@satyarohith satyarohith left a comment

Choose a reason for hiding this comment

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

LGTM - thanks!

@satyarohith satyarohith merged commit 3a3a848 into denoland:main Oct 5, 2022
@marcosc90 marcosc90 deleted the fix-corrupt-cache branch October 5, 2022 15:35
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.

2 participants