> 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

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

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

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

  Stats: 14600 lines in 634 files changed: 11263 ins; 1062 del; 2275 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