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

[WIP] 2.5 backport of stream cancellation modes #27608

Conversation

jrudolph
Copy link
Member

@jrudolph jrudolph commented Sep 2, 2019

That's not the final thing but rather a first try of providing a minimal backport of new stream cancellation features in 2.6. The idea is not backport stream cancellation causes but still provide the possibility to configure stream cancellation modes (as suggested in #27594). We cannot provide the new PropagateFailures mode (because there are no causes to propagate in 2.5). In akka-http we can still use the AfterDelay mode to introduce a general cancellation delay stages which seems to be enough to fix the so far elusive cancellation race conditions.

@akka-ci akka-ci added the validating PR is currently being validated by Jenkins label Sep 2, 2019
jrudolph added a commit to jrudolph/akka-http that referenced this pull request Sep 2, 2019
@akka-ci akka-ci added tested PR that was successfully built and tested by Jenkins and removed validating PR is currently being validated by Jenkins labels Sep 2, 2019
@akka-ci
Copy link

akka-ci commented Sep 2, 2019

Test PASSed.

@jrudolph
Copy link
Member Author

Superseded by #28008.

@jrudolph jrudolph closed this Oct 15, 2019
@jrudolph jrudolph deleted the 2.5-backport-of-stream-cancellation-modes branch October 15, 2019 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tested PR that was successfully built and tested by Jenkins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants