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
Response with an invalid content type hangs when using WebFlux with Jetty #23553
Comments
I see the following output:
I think the issue is we're making an implicit assumption in the Servlet to Reactive Streams bridge that there won't be an |
On a Servlet container a completion notification may come at any time even in the UNSUBSCRIBED state, i.e. before the write Publisher has called onSubscribe. See: gh-23553
The real reason turned out to be that when |
Affects: 5.1.9
I discovered this while adding a test for spring-projects/spring-boot#18027 that covered all of Boot's reactive web servers. I've tried to reproduce it in a small standalone example but didn't manage to do so. Sorry. It can be reproduced by moving this test to the superclass and then running JettyReactiveWebServerFactoryTests. You should see the block time out after 30 seconds.
The text was updated successfully, but these errors were encountered: