On Wed, 11 Feb 2026 20:17:16 GMT, Josiah Noel <[email protected]> wrote:

> We set the exchange to a closed state when closing the streams so it will hit 
> the [following lines 
> ](https://github.com/openjdk/jdk/blob/39a1d1c801a9cbf8d21051a9af7f6279873ae260/src/jdk.httpserver/share/classes/sun/net/httpserver/ServerImpl.java#L455-L457)to
>  close and remove the connection

Thanks. That sounds good.

 > >  There are timeouts that can be configured and that will cause the 
 > > connection to be closed if the exchange takes too long:
> Then yes, these are affected

The question then is - should they? I mean do the current connection states 
REQUEST / RESPONSE 
still make sense for an upgraded connection? Do we need a third state - like 
UPGRADED, and a third bucket to put upgraded connections?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27989#discussion_r2795369855

Reply via email to