forked from reactor/reactor-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.
Fix reactor#134: Handle pending writes when outbound completion is re…
…ached In some use cases it may appear that the last flush operation that is performed by PublisherSender#onComplete/onError will not able to write the data completely. In these cases the underlaying Netty implementation will schedule an additional task which will try to flush the remaining data. This additional flush operation will call ChannelPipeline#flush. Extend ChannelOperationsHandler#drain so that it is able to handle these additional callbacks.
- Loading branch information
Showing
2 changed files
with
196 additions
and
46 deletions.
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
Oops, something went wrong.