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

Mikhail Yankelevich myankelevich at openjdk.org
Wed May 21 16:40:42 UTC 2025


On Tue, 20 May 2025 17:17:21 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

>> Mikhail Yankelevich has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   addressing comments
>
> src/jdk.httpserver/share/classes/sun/net/httpserver/ServerImpl.java line 246:
> 
>> 244:         // posting a stop event, which will flip finished flag if it finishes
>> 245:         // before the timeout in this method
>> 246:         addEvent(new StopRequestedEvent());
> 
> post the event after setting `terminating = true`

Done in the next commit

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25333#discussion_r2100733670


More information about the net-dev mailing list