RFR: 8304065: HttpServer.stop should terminate immediately if no exchanges are in progress [v6]

Michael McMahon michaelm at openjdk.org
Wed May 28 10:38:01 UTC 2025


On Tue, 27 May 2025 18:42:38 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.
>
> Mikhail Yankelevich has updated the pull request incrementally with one additional commit since the last revision:
> 
>   discussion

Looks good

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

Marked as reviewed by michaelm (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25333#pullrequestreview-2874491359


More information about the net-dev mailing list