mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8219990: Backout JDK-8219658
Reviewed-by: dfuchs
This commit is contained in:
parent
ed252e10de
commit
4332a3dc56
1 changed files with 1 additions and 5 deletions
|
@ -916,12 +916,8 @@ public final class SSLSocketImpl
|
|||
/**
|
||||
* Try the best to use up the input records so as to close the
|
||||
* socket gracefully, without impact the performance too much.
|
||||
*
|
||||
* Note: please don't synchronize this method as the read() method
|
||||
* may hold the lock. A race should be fine as this method is
|
||||
* designed for cleanup only.
|
||||
*/
|
||||
private void deplete() {
|
||||
private synchronized void deplete() {
|
||||
if (!conContext.isInboundClosed()) {
|
||||
if (!(conContext.inputRecord instanceof SSLSocketInputRecord)) {
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue