[13] RFR: 8216561: HttpClient: The logic of retry on connect exception is inverted

Daniel Fuchs daniel.fuchs at oracle.com
Fri Jan 18 11:27:32 UTC 2019


Hi,

Please find below a small fix for:

8216561: HttpClient: The logic of retry on connect exception is inverted
https://bugs.openjdk.java.net/browse/JDK-8216561

webrev:
http://cr.openjdk.java.net/~dfuchs/webrev_8216561/webrev.01/

The patch now allows retry on connect exception, ensuring
that the second attempt takes into account the time spent
in the first attempt in order to honor the connect timeout
value (if present).

best regards,

-- daniel


More information about the net-dev mailing list