-
Notifications
You must be signed in to change notification settings - Fork 38.2k
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
IOException "Closed while Pending/Unready" with WebFlux on Jetty #24050
Comments
@rstoyanchev This looks valid... Interesting that it only materializes with HTTP/2. |
|
It isn't documented anywhere that That said I do understand the reasons and would be happy if we can help to eliminate the issue from our end, but from an initial look there doesn't seem to be an easy solution. The code that completes the For what it's worth the concerns that @gregw explained under jakartaee/servlet#273 I think don't apply to WebFlux where completion is guaranteed to occur after writing (i.e. they don't compete) and also we do not do any further processing after the call to |
I've identified a potential fix in our WriteListener. |
Thanks for the report @kptfh. I've verified the fix with the Reactive Feign test, but if you can confirm the fix from your end with a 5.1.12.BUILD-SNAPSHOT that would be great. |
@rstoyanchev I am able to confirm that |
Reactive Feign tests also got fixed. Thank you. Will wait for release. |
Affects: \Greenwich.SR3
Avoid calling Servlet APIs such as ServletOutputStream.close() or AsyncContext.complete() when previous writes are pending
You can find more details in Guys from jetty investigation
It can be easily reproduced with Reactive Feign test
The text was updated successfully, but these errors were encountered: