hg: jdk-updates/jdk13u-dev: 8231449: HttpClient’s client ssl certificate authentication seems to be broken.

yan at azul.com yan at azul.com
Fri Sep 4 12:12:31 UTC 2020


Changeset: 13348dcd35a5
Author:    dfuchs
Date:      2019-10-16 14:50 +0100
URL:       https://hg.openjdk.java.net/jdk-updates/jdk13u-dev/rev/13348dcd35a5

8231449: HttpClient’s client ssl certificate authentication seems to be broken.
Summary: SSLFlowDelegate.Reader and SubscriberWrapper are changed to better cooperate on when more demand should be requested from upstream. The issue encountered in this scenario was triggered by a large certificate which caused the SSLFlowDelegate to stop requesting data from upstream during the handshake although the engine handshake status was NEED_UNWRAP.
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/SubscriberWrapper.java
+ test/jdk/java/net/httpclient/HttpSlowServerTest.java
+ test/jdk/java/net/httpclient/LargeHandshakeTest.java
+ test/jdk/java/net/httpclient/LargeResponseTest.java



More information about the jdk-updates-changes mailing list