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

streams: PushPromises tasks are notified correctly #793

Merged
merged 1 commit into from
Aug 6, 2024

Conversation

ajwerner
Copy link
Contributor

@ajwerner ajwerner commented Aug 6, 2024

The push task is a separate task from the recv task, so its state needs to be tracked separately for waking. I don't know how to be systematic about ensuring that notify_push is called in all the right places, but this is an initial attempt.

In order to test this works, we manually utilize FuturesUnordered which does fine-grained task wake tracking. The added test failed before making the other changes.

The push task is a separate task from the recv task, so its state needs
to be tracked separately for waking. I don't know how to be systematic
about ensuring that notify_push is called in all the right places, but
this is an initial attempt.

In order to test this works, we manually utilize FuturesUnordered which
does fine-grained task wake tracking. The added test failed before
making the other changes.
@ajwerner ajwerner force-pushed the fix-push-promise-tasks branch from 0f10650 to 4cb2a53 Compare August 6, 2024 18:26
@ajwerner ajwerner changed the title streams: track the push task separately streams: PushPromises tasks are notified correctly Aug 6, 2024
@seanmonstar seanmonstar merged commit 5e5c03c into hyperium:master Aug 6, 2024
6 checks passed
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.

2 participants