RFR: 8350279: HttpClient: Add a new HttpResponse method to identify connections [v10]

Volkan Yazici vyazici at openjdk.org
Mon Apr 7 08:27:38 UTC 2025


> Adds `HttpResponse::connectionLabel` method that provides an identifier for the connection.
> 
> **Implementation note:** The feature is facilitated by `HttpConnection::label`, which should not be confused with `HttpConnection::id`. This distinction is explained in the JavaDoc of both properties.

Volkan Yazici has updated the pull request incrementally with one additional commit since the last revision:

  Add -Djdk.httpclient.keepalive.timeout=120` to `@run`

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24154/files
  - new: https://git.openjdk.org/jdk/pull/24154/files/741a2dd0..edc0c8d8

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24154&range=09
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24154&range=08-09

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

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


More information about the net-dev mailing list