On Wed, 15 Oct 2025 15:42:44 GMT, Daniel Fuchs <[email protected]> wrote:

> Well - no. The connection will be reused for the next request when the 
> chunked streams are closed.

I see, we should probably close the actual streams when calling close on the 
upgrade stream. 

> The notion of "HTTP exchange" doesn't really make sense after the protocol is 
> upgraded. That is - the HTTP/1.1 exchange should be considered closed as soon 
> as the upgrade is effective.

I suppose you're right, but it would be nice if calling close on HttpExchange 
would also close the upgraded streams.

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

PR Comment: https://git.openjdk.org/jdk/pull/27751#issuecomment-3407141947

Reply via email to