fengjiajie commented on a change in pull request #166: URL: https://github.com/apache/mina-sshd/pull/166#discussion_r488451365
########## File path: sshd-core/src/main/java/org/apache/sshd/common/io/nio2/Nio2Session.java ########## @@ -70,6 +71,8 @@ private final AtomicLong lastReadCycleStart = new AtomicLong(); private final AtomicLong writeCyclesCounter = new AtomicLong(); private final AtomicLong lastWriteCycleStart = new AtomicLong(); + private final AtomicBoolean suspendRead = new AtomicBoolean(false); + private final AtomicReference<Runnable> readRunnable = new AtomicReference<>(null); Review comment: Does it need to be processed in close() ? I feel like it might not be necessary, but not really sure. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org