hg: jdk-updates/jdk11u-dev: 8216561: HttpClient: The logic of retry on connect exception is inverted
    christoph.langer at sap.com 
    christoph.langer at sap.com
       
    Sun Oct 20 08:42:01 UTC 2019
    
    
  
Changeset: ec017aa1dd9e
Author:    dfuchs
Date:      2019-01-18 17:06 +0000
URL:       https://hg.openjdk.java.net/jdk-updates/jdk11u-dev/rev/ec017aa1dd9e
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-updates-changes
mailing list