-
Notifications
You must be signed in to change notification settings - Fork 266
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
call_all should stop after poll_ready returns an error #706
Labels
A-util
Area: The tower "util" module
C-bug
Category: This is a bug.
E-help-wanted
Call for participation: Help is requested to fix this issue.
Comments
Yeah, that seems right to me, I would accept a PR for this! |
leoyvens
added a commit
to leoyvens/tower
that referenced
this issue
Nov 1, 2022
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.
leoyvens
added a commit
to leoyvens/tower
that referenced
this issue
Nov 1, 2022
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.
leoyvens
added a commit
to leoyvens/tower
that referenced
this issue
Nov 1, 2022
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.
leoyvens
added a commit
to leoyvens/tower
that referenced
this issue
Nov 1, 2022
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
pushed a commit
that referenced
this issue
Nov 1, 2022
One is handling poll_ready errors (#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.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-util
Area: The tower "util" module
C-bug
Category: This is a bug.
E-help-wanted
Call for participation: Help is requested to fix this issue.
The docs say that a service should be discarded after an error is returned from
poll_ready
. ButCallAll
will currently treat apoll_ready
error in the same way as a request error and continues to call the service. It seems to me thatCallAll
should instead return the error once and end the stream even if there are more requests to be made.The text was updated successfully, but these errors were encountered: