-
Notifications
You must be signed in to change notification settings - Fork 534
Close loopholes by refining 1.9 and 2.5 #325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
May I ask why this is a problem? (i.e. what's the loophole?)
Trying to avoid negative rules, how about:
Thoughts @reactive-streams/contributors ? |
The purpose of this issue is to guarantee that, once a flow is established between a Publisher and a Subscriber, no other Publisher can disrupt that flow. In other words, that the Subscriber is guaranteed that any signal it receives, originates from the Publisher of its active Subscription.
Yes, that wording is better, thanks. |
@anthonyvdotbe Thanks for elaborating there. I'm not sure how we can fix this without breaking backwards compatibility. |
Closing as wontfix due to incompatibility. |
In my opinion, there exists a pair of loopholes in rules 1.9 and 2.5. In order to close those, I propose to change the rules as follows:
§1.9:
(Concerning this change, specifically how the Publisher would know that the Subscription was cancelled during the execution of onSubscribe, please refer to this comment)
§2.5:
These changes guarantee that a Subscriber is able to properly fend off intruding Publishers while it already has an active Subscription.
The text was updated successfully, but these errors were encountered: