On Fri, 10 Oct 2025 21:22:49 GMT, Josiah Noel <[email protected]> wrote:

>> - adds a flag to ExchangeImpl to signal whether the current request is an 
>> Upgrade request
>> - Adds a new `UpgradeInputStream` to ensure that the server keeps track of 
>> when the upgraded request is closed
>> - on 101 response codes, `sendResponseHeaders` will not immediately close 
>> the output stream 
>> - on 101 response codes, `sendResponseHeaders` will use an 
>> `UndefLengthOutputStream`
>
> Josiah Noel has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Update UpgradeInputStream.java

So your proposal is that we support switching protocols only for GET requests, 
and only for those that have no Content-length header in the request header?

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

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

Reply via email to