> 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 incrementally with one additional 
commit since the last revision:

  added test case to AlpnTest to confirm server's top priority protocol is 
chosen.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/30587/files
  - new: https://git.openjdk.org/jdk/pull/30587/files/709018f8..18f6cef1

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=30587&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30587&range=01-02

  Stats: 20 lines in 1 file changed: 19 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/30587.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30587/head:pull/30587

PR: https://git.openjdk.org/jdk/pull/30587

Reply via email to