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

util: Two call_all bug fixes #709

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

leoyvens
Copy link
Contributor

@leoyvens leoyvens commented Nov 1, 2022

One is handling poll_ready errors, resolves #706.

The other is fixing the TODO about disarming poll_ready, since there is no disarm this makes sure poll_ready is only called if call will immediately follow. This one actually hit me in production.

Each bug fix has a corresponding test case. This should not be breaking any public API.

One is handling poll_ready errors (tower-rs#706).

The other is fixing the TODO about disarming poll_ready, since there is no disarm this makes sure
`poll_ready` is only called if `call` will immediately follow.
@LucioFranco LucioFranco merged commit c9d84cd into tower-rs:master Nov 1, 2022
@leoyvens
Copy link
Contributor Author

leoyvens commented Nov 1, 2022

@LucioFranco Thank you for the review! Fast as a 🥷

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.

call_all should stop after poll_ready returns an error
2 participants