Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NettyChannelPublisher cancel active subscriber should terminate
Motivation: NettyChannelPublisher allows for resubscribes, and delivers queued data to the new Subscriber. If the previous Subscriber consumed some data and cancelled this may lead to the new Subscriber receiveing partial data from the last request. Modifications: - NettyChannelPublisher should discard any pending data, and deliver an error to new Subscribers if a previously active Subscriber cancels. Result: Resubscribes to NettyChannelPublisher won't get partial data for previous requests, like in the case of client pipelinining.
- Loading branch information
1 parent
666a16b
commit 3cf0a1c
Showing
2 changed files
with
30 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