AbstractKQueueChannel#writeFilter is invoked with the correct boolean depending on the ChannelOutboundBuffer state (#11128)
Motivation: This is a regression caused by #11086 Modifications: AbstractKQueueChannel#writeFilter should be invoked with `!in.isEmpty()` - false - all messages are written - true - there are still messages to be written Result: AbstractKQueueChannel#writeFilter is invoked with the correct boolean depending on the ChannelOutboundBuffer state
This commit is contained in:
parent
b41891b602
commit
bb97d1699d
@ -280,7 +280,7 @@ public final class KQueueDatagramChannel extends AbstractKQueueChannel implement
|
||||
}
|
||||
|
||||
// Whether all messages were written or not.
|
||||
writeFilter(in.isEmpty());
|
||||
writeFilter(!in.isEmpty());
|
||||
}
|
||||
|
||||
private boolean doWriteMessage(Object msg) throws Exception {
|
||||
|
Loading…
Reference in New Issue
Block a user