hg: jdk/jdk: 8216561: HttpClient: The logic of retry on connect exception is inverted

daniel.fuchs at oracle.com daniel.fuchs at oracle.com
Fri Jan 18 17:10:06 UTC 2019


Changeset: c9622e15ba29
Author:    dfuchs
Date:      2019-01-18 17:06 +0000
URL:       http://hg.openjdk.java.net/jdk/jdk/rev/c9622e15ba29

8216561: HttpClient: The logic of retry on connect exception is inverted
Summary: Allows retry on connect exception by default, 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).
Reviewed-by: chegar

! src/java.net.http/share/classes/jdk/internal/net/http/Exchange.java
! src/java.net.http/share/classes/jdk/internal/net/http/HttpClientImpl.java
! src/java.net.http/share/classes/jdk/internal/net/http/MultiExchange.java
! src/java.net.http/share/classes/jdk/internal/net/http/PlainHttpConnection.java



More information about the jdk-changes mailing list