mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8216326: SSLSocket stream close() does not close the associated socket
Reviewed-by: jnimeh
This commit is contained in:
parent
781fb29580
commit
eb59ebb177
3 changed files with 166 additions and 2 deletions
|
@ -980,7 +980,7 @@ public final class SSLSocketImpl
|
|||
}
|
||||
|
||||
try {
|
||||
shutdownInput(false);
|
||||
SSLSocketImpl.this.close();
|
||||
} catch (IOException ioe) {
|
||||
// ignore the exception
|
||||
if (SSLLogger.isOn && SSLLogger.isOn("ssl")) {
|
||||
|
@ -1146,7 +1146,7 @@ public final class SSLSocketImpl
|
|||
}
|
||||
|
||||
try {
|
||||
shutdownOutput();
|
||||
SSLSocketImpl.this.close();
|
||||
} catch (IOException ioe) {
|
||||
// ignore the exception
|
||||
if (SSLLogger.isOn && SSLLogger.isOn("ssl")) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue