hg: jdk-updates/jdk12u: 8217094: HttpClient SSL race if a socket IOException is raised before ALPN is available

sean.coffey at oracle.com sean.coffey at oracle.com
Mon Feb 18 17:16:44 UTC 2019


Changeset: 71a71c356920
Author:    dfuchs
Date:      2019-01-16 19:09 +0000
URL:       http://hg.openjdk.java.net/jdk-updates/jdk12u/rev/71a71c356920

8217094: HttpClient SSL race if a socket IOException is raised before ALPN is available
Summary: The patch makes suer that the SSLFlowDelegate's ALPN CF is always completed
Reviewed-by: chegar

! src/java.net.http/share/classes/jdk/internal/net/http/common/SSLFlowDelegate.java
! src/java.net.http/share/classes/jdk/internal/net/http/common/SSLTube.java
! src/java.net.http/share/classes/jdk/internal/net/http/common/SubscriberWrapper.java
+ test/jdk/java/net/httpclient/ALPNFailureTest.java
+ test/jdk/java/net/httpclient/ALPNProxyFailureTest.java
! test/jdk/java/net/httpclient/DigestEchoServer.java



More information about the jdk-updates-changes mailing list