mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-17 17:52:06 +01:00
[tcp] Improve pendingWriteInterestAfterRead code comment
This commit is contained in:
parent
525ee09ea1
commit
08fc0ba0b4
1 changed files with 2 additions and 2 deletions
|
@ -498,9 +498,9 @@ public class XmppTcpTransportModule extends ModularXmppClientToServerConnectionM
|
|||
pendingInputFilterData = false;
|
||||
}
|
||||
|
||||
// We have successfully read something. It is now possible that a filter is now also able to write
|
||||
// additional data (for example SSLEngine).
|
||||
if (pendingWriteInterestAfterRead) {
|
||||
// We have successfully read something and someone announced a write interest after a read. It is
|
||||
// now possible that a filter is now also able to write additional data (for example SSLEngine).
|
||||
pendingWriteInterestAfterRead = false;
|
||||
newInterestedOps |= SelectionKey.OP_WRITE;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue