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

Daniel Fuchs dfuchs at openjdk.org
Fri May 23 10:00:06 UTC 2025


On Fri, 23 May 2025 08:48:32 GMT, Mark Sheppard <msheppar at openjdk.org> wrote:

> If I have read the original code correctly there is a flaw in it, that is the startExchange is never called.

@msheppar what do you mean by that? It's called in [ExchangeImpl.java](https://github.com/openjdk/jdk/blob/68ee06f0c9ec420cb1a60e0b361971372b18b82b/src/jdk.httpserver/share/classes/sun/net/httpserver/ExchangeImpl.java#L98)

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

PR Comment: https://git.openjdk.org/jdk/pull/25333#issuecomment-2903915506


More information about the net-dev mailing list