-
Notifications
You must be signed in to change notification settings - Fork 264
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
repeated panics when using ServiceExt::oneshot #469
Comments
I believe this is the same bug that was fixed in #447. Maybe that was not backported to 0.3? |
hdevalence
added a commit
to ZcashFoundation/zebra
that referenced
this issue
Sep 10, 2020
This is a really nice function but there might be a bug in its future implementation: tower-rs/tower#469 This bug may have already been fixed for the 0.4.0 release, so we could change back then.
hdevalence
added a commit
to ZcashFoundation/zebra
that referenced
this issue
Sep 10, 2020
This is a really nice function but there might be a bug in its future implementation: tower-rs/tower#469 This bug may have already been fixed for the 0.4.0 release, so we could change back then.
hdevalence
added a commit
to ZcashFoundation/zebra
that referenced
this issue
Sep 10, 2020
This is a really nice function but there might be a bug in its future implementation: tower-rs/tower#469 This bug may have already been fixed for the 0.4.0 release, so we could change back then.
hdevalence
added a commit
to ZcashFoundation/zebra
that referenced
this issue
Sep 11, 2020
This is a really nice function but there might be a bug in its future implementation: tower-rs/tower#469 This bug may have already been fixed for the 0.4.0 release, so we could change back then.
@hdevalence I think you all updated to 0.4, is this still an issue or can we close this? |
This is fixed in 0.4. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using
ServiceExt::oneshot
(tower 0.3.1) I get repeated panics with the message "We immediately transition to ::Called".It looks like this comes from the service impl:
I'm not sure I follow the reasoning here:
svc
is taken from thenr: Option<_>
, but ifsvc.poll_ready
returnsPoll::Pending
,poll
will return early (viaready
) without puttingsvc
back. So I don't see how it immediately transitions to::Called
.The text was updated successfully, but these errors were encountered: