mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8235263: Revert TLS 1.3 change that wrapped IOExceptions
Reviewed-by: mullan
This commit is contained in:
parent
577e87e5b2
commit
96a8b9796d
1 changed files with 5 additions and 3 deletions
|
@ -1254,9 +1254,11 @@ public final class SSLSocketImpl
|
|||
} catch (SSLHandshakeException she) {
|
||||
// may be record sequence number overflow
|
||||
throw conContext.fatal(Alert.HANDSHAKE_FAILURE, she);
|
||||
} catch (IOException e) {
|
||||
throw conContext.fatal(Alert.UNEXPECTED_MESSAGE, e);
|
||||
}
|
||||
} catch (SSLException ssle) {
|
||||
throw conContext.fatal(Alert.UNEXPECTED_MESSAGE, ssle);
|
||||
} // re-throw other IOException, which should be caused by
|
||||
// the underlying plain socket and could be handled by
|
||||
// applications (for example, re-try the connection).
|
||||
|
||||
// Is the sequence number is nearly overflow, or has the key usage
|
||||
// limit been reached?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue