RFR: 8377302: HttpServer::stop uses full timeout duration if handler throws [v3]
Volkan Yazici
vyazici at openjdk.org
Wed Feb 11 13:38:41 UTC 2026
On Wed, 11 Feb 2026 11:00:17 GMT, Daniel Fuchs <dfuchs at openjdk.org> 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 incrementally with one additional commit since the last revision:
>
> Add more comments to ExchangeImpl
Marked as reviewed by vyazici (Committer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/29606#pullrequestreview-3784866325
More information about the net-dev
mailing list