RFR: 8361060: Keep track of the origin server against which a jdk.internal.net.http.HttpConnection was constructed [v4]

Jaikiran Pai jpai at openjdk.org
Wed Jul 2 12:45:59 UTC 2025


> Can I please get a review of this change which updates the `jdk.internal.net.http.HttpConnection` to keep track of the origin server for which the `HttpConnection` was constructed? This addresses https://bugs.openjdk.org/browse/JDK-8361060.
> 
> This is an internal implementation change which will allow other parts of the JDK's HttpClient implementation to use the origin server information. An example of such usage is the alternate services that are going to be supported in the JDK's HttpClient upcoming implementation for HTTP/3.
> 
> No new tests have been introduced and existing tests in tier1, tier2 and tier3 continue to pass.

Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:

  add a test for jdk.internal.net.http.Origin

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/26041/files
  - new: https://git.openjdk.org/jdk/pull/26041/files/b2ba49ce..711840f3

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

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

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


More information about the net-dev mailing list