Integrated: 8304065: HttpServer.stop should terminate immediately if no exchanges are in progress

Mikhail Yankelevich myankelevich at openjdk.org
Wed May 28 10:38:02 UTC 2025


On Tue, 20 May 2025 15:51:50 GMT, Mikhail Yankelevich <myankelevich at openjdk.org> wrote:

> HttpServer::stop will terminate the server immidiately after all exhcnages are complete.
> If the exchanges take longer then the specified delay it will terminate straight after the delay, the same as the previous behaviour.
> 
> Used to wait until the delay is complete at all times, regardless of the number of active exchanges.
> 
> Tests based on @eirbjo work, so adding Eirik as a contributor.

This pull request has now been integrated.

Changeset: 627ef344
Author:    Mikhail Yankelevich <myankelevich at openjdk.org>
Committer: Michael McMahon <michaelm at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/627ef34498c31b5d16f9da423cfe0a5fe46a3562
Stats:     540 lines in 7 files changed: 429 ins; 58 del; 53 mod

8304065: HttpServer.stop should terminate immediately if no exchanges are in progress

Co-authored-by: Eirik Bjørsnøs <eirbjo at openjdk.org>
Reviewed-by: dfuchs, michaelm

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

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


More information about the net-dev mailing list