Skip to content

fix: skip compression wrapper for SSE responses#22699

Open
aartisonigra wants to merge 3 commits into
vitejs:mainfrom
aartisonigra:fix-sse-preview-compression
Open

fix: skip compression wrapper for SSE responses#22699
aartisonigra wants to merge 3 commits into
vitejs:mainfrom
aartisonigra:fix-sse-preview-compression

Conversation

@aartisonigra

Copy link
Copy Markdown

Change is in packages/vite/src/node/preview.ts: preview now skips installing @polka/compression for SSE (text/event-stream) requests, preventing HTTP/2 stream lifecycle issues that caused concurrent fetches to stall.

@aartisonigra

Copy link
Copy Markdown
Author

Please check this PR

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.

1 participant