8255148: Confusing log output: SSLSocket duplex close failed

Reviewed-by: mullan
This commit is contained in:
Evan Whelan 2021-06-09 20:38:47 +00:00 committed by Sean Mullan
parent bbd0313ac1
commit 408e0a9c69
2 changed files with 106 additions and 4 deletions

View file

@ -587,7 +587,7 @@ public final class SSLSocketImpl
} catch (IOException ioe) {
// ignore the exception
if (SSLLogger.isOn && SSLLogger.isOn("ssl")) {
SSLLogger.warning("SSLSocket duplex close failed", ioe);
SSLLogger.warning("SSLSocket duplex close failed. Debug info only. Exception details:", ioe);
}
} finally {
if (!isClosed()) {
@ -597,7 +597,7 @@ public final class SSLSocketImpl
} catch (IOException ioe) {
// ignore the exception
if (SSLLogger.isOn && SSLLogger.isOn("ssl")) {
SSLLogger.warning("SSLSocket close failed", ioe);
SSLLogger.warning("SSLSocket close failed. Debug info only. Exception details:", ioe);
}
} finally {
tlsIsClosed = true;
@ -1134,7 +1134,7 @@ public final class SSLSocketImpl
} catch (IOException ioe) {
// ignore the exception
if (SSLLogger.isOn && SSLLogger.isOn("ssl")) {
SSLLogger.warning("input stream close failed", ioe);
SSLLogger.warning("input stream close failed. Debug info only. Exception details:", ioe);
}
}
}
@ -1329,7 +1329,7 @@ public final class SSLSocketImpl
} catch (IOException ioe) {
// ignore the exception
if (SSLLogger.isOn && SSLLogger.isOn("ssl")) {
SSLLogger.warning("output stream close failed", ioe);
SSLLogger.warning("output stream close failed. Debug info only. Exception details:", ioe);
}
}
}