Integrated: 8237578: JDK-8214339 (SSLSocketImpl wraps SocketException) appears to not be fully fixed

Clive Verghese cverghese at openjdk.java.net
Mon Jan 11 12:05:00 UTC 2021


On Wed, 6 Jan 2021 23:28:34 GMT, Clive Verghese <cverghese at openjdk.org> wrote:

> This PR aims to revert some more cases where SocketExceptions are improperly being wrapped as SSLException. Some work for this was done in [JDK-8235263](https://bugs.openjdk.java.net/browse/JDK-8235263), but that change did not cover all the cases.
> 
> As it was mentioned in JDK-8235263, some applications rely on receiving SocketException to decide if the connection should be retried. An example of this would be Apache HTTP client. This PR should ideally fix https://issues.apache.org/jira/browse/HTTPCLIENT-2032

This pull request has now been integrated.

Changeset: 01b2804e
Author:    Clive Verghese <cverghese at openjdk.org>
Committer: Volker Simonis <simonis at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/01b2804e
Stats:     182 lines in 5 files changed: 175 ins; 0 del; 7 mod

8237578: JDK-8214339 (SSLSocketImpl wraps SocketException) appears to not be fully fixed

Reviewed-by: xuelei, simonis

-------------

PR: https://git.openjdk.java.net/jdk/pull/1968



More information about the security-dev mailing list