On Wed, 11 Feb 2026 19:48:36 GMT, Daniel Fuchs <[email protected]> wrote:
>> When a HttpHandler::handle method throws an unexpected exception, the >> HttpServer rightfully closes the associated connection. However, the >> exchange is still discounted as pending, which causes HttpServer::stop to >> wait for the full timeout duration, even though all connections have been >> closed. > > Daniel Fuchs has updated the pull request with a new target base due to a > merge or a rebase. The incremental webrev excludes the unrelated changes > brought in by the merge/rebase. The pull request contains eight additional > commits since the last revision: > > - Merge branch 'master' into stop-after-throws-8377302 > - Add more comments to ExchangeImpl > - Update test/jdk/com/sun/net/httpserver/FailAndStopTest.java > > Co-authored-by: Volkan Yazıcı <[email protected]> > - Review feedback > - Merge branch 'master' into stop-after-throws-8377302 > - add bug id > - improve the test > - 8377302: HttpServer::stop uses full timeout duration if handler throws Marked as reviewed by michaelm (Reviewer). ------------- PR Review: https://git.openjdk.org/jdk/pull/29606#pullrequestreview-3808052146
