arturobernalg opened a new pull request, #1160: URL: https://github.com/apache/tomcat/pull/1160
Fixes https://bz.apache.org/bugzilla/show_bug.cgi?id=70313 When async processing completes while buffered output is waiting for window, the write listener has been cleared. WindowAllocationManager used the listener to decide if a thread was blocked, so it signalled a thread that did not exist instead of dispatching the write, and the rest of the response was never sent. The fix records how the wait was registered and uses that. The new test fails without the fix (6 of 6) and passes with it, for both async IO settings. The whole coyote/http2 test package and every TestAsync* class pass. The same change applies cleanly to 11.0.x, where the test fails and passes in the same way. 10.1.x is not affected. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
