Skip to content
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

Single#concat(Publisher) invalid demand hang #1230

Merged
merged 1 commit into from
Nov 30, 2020

Conversation

Scottmitch
Copy link
Member

Motivation:
If invalid demand is received by the Single#concat(Publisher) operator
before the single completed the invalid demand may be overwritten by a
subsequent request instead of propagating an error.

Modifications:

  • Invalid demand should cancel the subscription and propagate an error.

Result:
Single#concat(Publisher) is more robust and follows rule 3.9 of the
reactive streams spec.

Motivation:
If invalid demand is received by the Single#concat(Publisher) operator
before the single completed the invalid demand may be overwritten by a
subsequent request instead of propagating an error.

Modifications:
- Invalid demand should cancel the subscription and propagate an error.

Result:
Single#concat(Publisher) is more robust and follows rule 3.9 of the
reactive streams spec.
@Scottmitch Scottmitch merged commit 9e368b1 into apple:main Nov 30, 2020
@Scottmitch Scottmitch deleted the single_concat_publisher branch November 30, 2020 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants