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
ff0c014ade
commit
41ef4e4b02
@ -279,7 +279,7 @@ public final class KQueueDatagramChannel extends AbstractKQueueChannel implement
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Whether all messages were written or not.
|
// Whether all messages were written or not.
|
||||||
writeFilter(in.isEmpty());
|
writeFilter(!in.isEmpty());
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean doWriteMessage(Object msg) throws Exception {
|
private boolean doWriteMessage(Object msg) throws Exception {
|
||||||
|
Loading…
Reference in New Issue
Block a user