On Tue, 9 Dec 2025 16:06:24 GMT, Daniel Fuchs <[email protected]> wrote:
> The proposed solution is to read the reponse body in two chunks instead of > one, potentially allowing for the timeout to get doubled. This should not > penalize the execution time in the regular case. I verified from the logs on > my machine that the sleep() call was invoked only once, meaning the reading > of the first 1/4 of the stream window was enough to trigger the expected > exception. This pull request has now been integrated. Changeset: b58e3b60 Author: Daniel Fuchs <[email protected]> URL: https://git.openjdk.org/jdk/commit/b58e3b600bb14bf7133eda0c37a4be4c82919d79 Stats: 17 lines in 1 file changed: 11 ins; 1 del; 5 mod 8373227: Test java/net/httpclient/http2/StreamFlowControlTest.java failed: should sleep time be raised? Reviewed-by: djelinski ------------- PR: https://git.openjdk.org/jdk/pull/28726
