-
Notifications
You must be signed in to change notification settings - Fork 3.4k
ModifyResponseBodyGatewayFilterFactory block SSE response until events are finished #2275
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
Labels
Comments
dmartinsid
added a commit
to dmartinsid/spring-cloud-gateway
that referenced
this issue
Jun 24, 2021
dmartinsid
added a commit
to dmartinsid/spring-cloud-gateway
that referenced
this issue
Jun 24, 2021
dmartinsid
added a commit
to dmartinsid/spring-cloud-gateway
that referenced
this issue
Jun 24, 2021
usrivastava92
added a commit
to usrivastava92/spring-cloud-gateway
that referenced
this issue
Jul 28, 2024
usrivastava92
added a commit
to usrivastava92/spring-cloud-gateway
that referenced
this issue
Jul 28, 2024
usrivastava92
added a commit
to usrivastava92/spring-cloud-gateway
that referenced
this issue
Jul 28, 2024
usrivastava92
added a commit
to usrivastava92/spring-cloud-gateway
that referenced
this issue
Jul 28, 2024
usrivastava92
added a commit
to usrivastava92/spring-cloud-gateway
that referenced
this issue
Jul 28, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When we use modifyResponseBody for a SSE resource Spring Cloud Gateway block the response until the Server Sent Events are finished, thus compromising the user experience.
This issue occurs because ModifyResponseBody does not support SSE events, I will send a Pull Request with this fix
Sample
To reproduce this bug we just need to expose a SSE resource and use a rewrite function for it
Test that fails with spring-cloud-gateway-server
The text was updated successfully, but these errors were encountered: