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: don't call next middleware if user sent response in proxy.bypass #19318

Conversation

sapphi-red
Copy link
Member

Description

This PR fixes this error that is happening when running the tests.
https://github.com/vitejs/vite/actions/runs/12984018538/job/36206191497#step:13:107

refs #18940

@sapphi-red sapphi-red added the p2-edge-case Bug, but has workaround or limited in scope (priority) label Jan 30, 2025
@patak-dev patak-dev merged commit 7e6364d into vitejs:main Feb 3, 2025
16 checks passed
@sapphi-red sapphi-red deleted the fix/dont-call-next-middleware-if-user-sent-response-in-proxy-option branch February 4, 2025 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2-edge-case Bug, but has workaround or limited in scope (priority)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants