forked from netty/netty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PendingWriteQueue to handle write operations with void future
Motivation: Right now PendingWriteQueue.removeAndWriteAll collects all promises to PromiseCombiner instance which sets listener to each given promise throwing IllegalStateException on VoidChannelPromise which breaks while loop and "reports" operation as failed (when in fact part of writes might be actually written). Modifications: Check if the promise is not void before adding it to the PromiseCombiner instance. Result: PendingWriteQueue.removeAndWriteAll succesfully writes all pendings even in case void promise was used.
- Loading branch information
1 parent
f6251c8
commit b082376
Showing
2 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters