On Fri, 6 Feb 2026 13:54:06 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.

This pull request has now been integrated.

Changeset: a08c730d
Author:    Daniel Fuchs <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/a08c730d5fae6a80a0fa457aa465fcf6d5e35b8b
Stats:     476 lines in 7 files changed: 396 ins; 17 del; 63 mod

8377302: HttpServer::stop uses full timeout duration if handler throws

Reviewed-by: vyazici, michaelm

-------------

PR: https://git.openjdk.org/jdk/pull/29606

Reply via email to