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

Mikhail Yankelevich myankelevich at openjdk.org
Tue May 27 18:42:38 UTC 2025


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25333/files
  - new: https://git.openjdk.org/jdk/pull/25333/files/50749eab..1ca9ecd3

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25333&range=05
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25333&range=04-05

  Stats: 22 lines in 6 files changed: 7 ins; 1 del; 14 mod
  Patch: https://git.openjdk.org/jdk/pull/25333.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25333/head:pull/25333

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


More information about the net-dev mailing list