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(node/http): avoid empty chunk issue of flash #3062

Merged
merged 1 commit into from
Dec 28, 2022

Conversation

kt3k
Copy link
Member

@kt3k kt3k commented Dec 27, 2022

This solves a part of astro issues denoland/deno#16659

Currently flash seems having an issue in handling empty chunks in ReadableStream response body (denoland/deno#17194). This PR tries to avoid that issue by skipping enqueuing empty chunks.

@kt3k kt3k marked this pull request as ready for review December 27, 2022 11:38
@kt3k kt3k mentioned this pull request Dec 27, 2022
4 tasks
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

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

LGTM. Tried it locally and it actually fixes a problem with Vite as well.

@lino-levan
Copy link
Contributor

LGTM

@kt3k kt3k merged commit d1fb2a5 into denoland:main Dec 28, 2022
@kt3k kt3k deleted the workaround-empty-chunk-issue branch December 28, 2022 04: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.

None yet

3 participants