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

Clive Verghese cverghese at openjdk.java.net
Fri Jan 8 20:18:15 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:

  Shutdown sockets to prevent leak

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/1968/files
  - new: https://git.openjdk.java.net/jdk/pull/1968/files/b161b410..c1d2969f

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

  Stats: 27 lines in 2 files changed: 15 ins; 9 del; 3 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