Details
-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b26
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8323666 | 17.0.12-oracle | Jaikiran Pai | P4 | Resolved | Fixed | b01 |
JDK-8326088 | 17.0.11 | Jaikiran Pai | P4 | Resolved | Fixed | b04 |
Description
When IPv6 addesses are involved, URI.getHost() method, as noted in its API documentation, returns an IP address wrapped in square brackets. On the other hand, the InetAddress.getHostString(), doesn't use square brackets to represent the IP address.
This thus leads to a mismatch in the keys used to store the connection and retrieve the connection, effectively leading to a cache miss on lookup.
Attachments
Issue Links
- backported by
-
JDK-8323666 HttpClient may use incorrect key when finding pooled HTTP/2 connection for IPv6 address
- Resolved
-
JDK-8326088 HttpClient may use incorrect key when finding pooled HTTP/2 connection for IPv6 address
- Resolved
- relates to
-
JDK-8278312 Update SimpleSSLContext keystore to use SANs for localhost IP addresses
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/43956686
-
Commit openjdk/jdk/3ccb3c0e
-
Review openjdk/jdk11u-dev/1941
-
Review openjdk/jdk11u-dev/2531
-
Review openjdk/jdk17u-dev/1419
-
Review openjdk/jdk17u-dev/1984
-
Review openjdk/jdk17u-dev/2121
-
Review openjdk/jdk/13456