Hi,

Please find below a fix for:
8230526: jdk.internal.net.http.PlainProxyConnection is never reused
         by HttpClient
https://bugs.openjdk.java.net/browse/JDK-8230526

webrev:
http://cr.openjdk.java.net/~dfuchs/webrev_8230526/webrev.00/

Indeed, the new HttpClient never reuses plain proxy connections.
The cache key of an unsecure (= no tunnel) plain proxy connection
doesn't need to (and neither should it) contain the destination
address as it can be used to send requests to just any hosts served
by the proxy. So the cache population was right, but the lookup was
wrong. This is now fixed (and tested).

best regards,

-- daniel

Reply via email to