On Fri, 10 Apr 2026 16:57:33 GMT, Matthew Donovan <[email protected]> wrote:

>> According to RFC 7301, the client sends the server a list of available 
>> application protocols and the server -- using a list of prioritized 
>> protocols -- chooses which protocol to use and sends it back to the client.
>> 
>> The logic in expectedNegoAppProtocol prioritizes the client protocol first.
>> 
>> This PR updates the method to choose the first server-supported protocol 
>> that the client also supports.
>> 
>> ---------
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Matthew Donovan has updated the pull request with a new target base due to a 
> merge or a rebase. The incremental webrev excludes the unrelated changes 
> brought in by the merge/rebase. The pull request contains three additional 
> commits since the last revision:
> 
>  - fixed copyright year
>  - Merge branch 'master' into alpn-priorities
>  - 8381176: Utilities.expectedNegoAppProtocol chooses client ALPN protocol 
> over server's

I added a test case to AlpnTest.java to exercise this change.

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

PR Comment: https://git.openjdk.org/jdk/pull/30587#issuecomment-4238125936

Reply via email to