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

Clive Verghese cverghese at openjdk.java.net
Sun Jan 10 06:20:21 UTC 2021


> 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

Clive Verghese has updated the pull request incrementally with one additional commit since the last revision:

  Address Review comments on transport shutdow and using SSLSocketTemplate

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/1968/files
  - new: https://git.openjdk.java.net/jdk/pull/1968/files/bee6e07c..6d2f6433

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1968&range=04
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1968&range=03-04

  Stats: 241 lines in 3 files changed: 21 ins; 189 del; 31 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1968.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1968/head:pull/1968

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



More information about the security-dev mailing list