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

feat(transport): Allow custom IO and UDS example #184

Merged
merged 5 commits into from
Dec 13, 2019
Merged

Conversation

LucioFranco
Copy link
Member

@LucioFranco LucioFranco commented Dec 13, 2019

Closes #136

@LucioFranco LucioFranco merged commit b90c340 into master Dec 13, 2019
@LucioFranco LucioFranco deleted the lucio/uds branch December 13, 2019 22:14
LucioFranco pushed a commit that referenced this pull request Dec 15, 2019
b90c340 (feat(transport): Allow custom IO and UDS example (#184),
2019-12-13) changed the Connector type to be more generic instead of
only allowing the HttpConnector type, during this change the
`Service::poll_ready` impl was changed from calling
`MakeConnection::poll_ready` on `self.http` to `self` resulting in
infinite recursion due to the blanket imple of
`MakeConnection::poll_ready` calling `Service::poll_ready`.

This fixes the bug by calling `MakeConnection::poll_ready` on
`self.inner` instead of `self`.

Fixes #191
rabbitinspace pushed a commit to satelit-project/tonic that referenced this pull request Jan 1, 2020
rabbitinspace pushed a commit to satelit-project/tonic that referenced this pull request Jan 1, 2020
b90c340 (feat(transport): Allow custom IO and UDS example (hyperium#184),
2019-12-13) changed the Connector type to be more generic instead of
only allowing the HttpConnector type, during this change the
`Service::poll_ready` impl was changed from calling
`MakeConnection::poll_ready` on `self.http` to `self` resulting in
infinite recursion due to the blanket imple of
`MakeConnection::poll_ready` calling `Service::poll_ready`.

This fixes the bug by calling `MakeConnection::poll_ready` on
`self.inner` instead of `self`.

Fixes hyperium#191
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.

Consider use over a Unix domain socket
1 participant