Fix potential resource leak in SslHandler (part 2)
- Fix a non-sense check
This commit is contained in:
parent
e15ca4947e
commit
16a9dc6224
@ -1424,7 +1424,7 @@ public class SslHandler extends FrameDecoder
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!engine.isInboundDone()) {
|
if (!engine.isOutboundDone()) {
|
||||||
if (sentCloseNotify.compareAndSet(false, true)) {
|
if (sentCloseNotify.compareAndSet(false, true)) {
|
||||||
engine.closeOutbound();
|
engine.closeOutbound();
|
||||||
try {
|
try {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user