RFR: 8368695: Support 101 switching protocol in jdk.httpserver [v2]

Daniel Fuchs dfuchs at openjdk.org
Tue Feb 17 16:46:55 UTC 2026


On Tue, 30 Dec 2025 21:28:01 GMT, Josiah Noel <duke at openjdk.org> wrote:

>>> Let's get the base use case where we can implement it ourselves first.
>> 
>> Sure, this would be handy in other cases as well
>> 
>>> it seems exceedingly unlikely that something like that would happen due to the extra maintenance required by the jdk team
>> 
>> As mentioned this is already fully implemented in the http-client and as the protocol is quite symmetric for client/server it feels a bit wasted opportunity to not support it in the server part as well as the only thing needed is basically the upgrade part.
>
>> As mentioned this is already fully implemented in the http-client and as the protocol is quite symmetric for client/server it feels a bit wasted opportunity to not support it in the server part 
> 
> one step at a time, given all the other priorities, I anticipate that even getting this functionality will take quite some time

@SentryMan FYI https://git.openjdk.org/jdk/pull/29606 renamed `Event.WriteFinished` into `Event.ExchangeFinished` and the way to post the event is now to call `HttpExchangeImpl::postExchangeFinished(boolean writeFinished)`.
See https://git.openjdk.org/jdk/pull/29606 for more details.

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

PR Comment: https://git.openjdk.org/jdk/pull/27989#issuecomment-3915819312


More information about the net-dev mailing list