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/http): flush gzip streaming response #23991

Merged

Conversation

bartlomieju
Copy link
Member

@bartlomieju bartlomieju commented May 27, 2024

This commit changes gzip compression in Deno.serve API to flush data
after each write. There's a slight performance regression, but provided test
shows a scenario that was not possible before.

@littledivy littledivy changed the title fix(ext/http): flush streaming response after idle timeout fix(ext/http): flush gzip streaming response May 27, 2024
@bartlomieju bartlomieju merged commit 7d8a8a0 into denoland:main May 28, 2024
17 checks passed
@bartlomieju bartlomieju deleted the flush_streaming_response_on_timeout branch May 28, 2024 20:46
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

2 participants