| #
5e9a5bcd |
| 02-Jan-2025 |
tottoto <[email protected]> |
chore: Use lint config in manifest (#2114)
|
|
Revision tags: v0.12.3, v0.12.2 |
|
| #
8d6d46b2 |
| 23-Aug-2024 |
Dirkjan Ochtman <[email protected]> |
tonic-reflection: add back support for v1alpha reflection protocol (#1888)
* reflection: collect directly into ReflectionServiceState
* reflection: move state initialization into method
* reflecti
tonic-reflection: add back support for v1alpha reflection protocol (#1888)
* reflection: collect directly into ReflectionServiceState
* reflection: move state initialization into method
* reflection: organize imports
* reflection: move type conversions out of state
* reflection: move builder and state to parent module
* reflection: add back v1alpha reflection server
* reflection: add tests for different versions
* reflection: deprecate non-specific build() method
---------
Co-authored-by: Jesper Svennevid <[email protected]>
show more ...
|
|
Revision tags: v0.12.1, v0.12.0 |
|
| #
b29f4668 |
| 29-May-2024 |
katelyn martin <[email protected]> |
tonic-reflection: use `v1` reflection protobuffer definitions (#1701)
this fixes #1685.
in penumbra-zone/penumbra#4392, we observed that tonic servers do not properly support reflection when ser
tonic-reflection: use `v1` reflection protobuffer definitions (#1701)
this fixes #1685.
in penumbra-zone/penumbra#4392, we observed that tonic servers do not properly support reflection when servicing a request sent by recent versions of [`grpcurl`], after [v1.8.8] began using `grpc.reflection.v1.ServerReflection`. (see fullstorydev/grpcurl#407)
these lead to an error regarding an unexpected status code, like this:
``` ❯ grpcurl --version grpcurl v1.9.1
❯ grpcurl -vv grpc.testnet.penumbra.zone:443 list Failed to list services: rpc error: code = Unknown desc = unexpected HTTP status code received from server: 405 (Method Not Allowed); malformed header: missing HTTP content-type ```
this adds the v1 reflection definition to `tonic-reflection`, which was observed as fixing these issues for our gRPC endpoint.
### changes
changes in this commet are as follows:
* vendors the `v1` definition of [`reflection.proto`][proto].
* renames the (deprecated) `v1alpha` definition to `reflection_v1alpha.proto`.
* `tonic_reflection::generated::grpc_reflection_v1` links to the generated Rust code (created by running `cargo run --package codegen`).
* `tonic_reflection::generated::FILE_DESCRIPTOR_SET` is replaced by `tonic_reflection::generated::{FILE_DESCRIPTOR_SET_V1ALPHA, FILE_DESCRIPTOR_SET_V1}`.
* `tonic_reflection::pb` now contains namespaced `tonic_reflection::pb::{v1alpha, v1}` submodules. (**NB: this is a breaking change to the public `tonic-reflection` API.**)
* `tonic_reflection::server` is updated to use the generated `tonic_reflection::pb::v1` code.
[v1.8.8]: https://github.com/fullstorydev/grpcurl/releases/tag/v1.8.8 [proto]: https://github.com/grpc/grpc/blob/master/src/proto/grpc/reflection/v1/reflection.proto [grpcurl]: https://github.com/fullstorydev/grpcurl
---
fixes: #1685 x-ref: penumbra-zone/penumbra#4392
Co-authored-by: Conor Schaefer <[email protected]>
show more ...
|
|
Revision tags: v0.11.0 |
|
| #
f089e7a0 |
| 13-Nov-2023 |
tottoto <[email protected]> |
chore: Refactor use of tokio-stream (#1560)
|
|
Revision tags: v0.10.2, v0.10.1, v0.10.0 |
|
| #
cae50b8e |
| 11-Aug-2023 |
tottoto <[email protected]> |
chore(reflection): Remove futures-util (#1459)
|
| #
c9c4acbc |
| 22-Jun-2023 |
tottoto <[email protected]> |
chore: Use cargo-udeps to check unused dependencies (#1364)
* chore: Use cargo-udeps to check unused dependencies
* Exclude uds example on windows
* Revert to use tokio_stream::Stream instead of f
chore: Use cargo-udeps to check unused dependencies (#1364)
* chore: Use cargo-udeps to check unused dependencies
* Exclude uds example on windows
* Revert to use tokio_stream::Stream instead of futures_core::Stream
* Replace all futures_core:Stream with tokio_stream::Stream
* chore(web): Replace futures_core::Stream with tokio_stream::Stream
* chore(web): Use std version ready instead of futures-core version
* chore(tonic): Use futures-core via futures-util
* Revert "chore(web): Use std version ready instead of futures-core version"
This reverts commit 9d9458d9e632613f35f34c877bc162b3a03967b6.
* chore(examples): Refactor dependencies
* chore(tonic): Use tokio-stream::iter
* chore(reflection): Use tokio-stream::iter
---------
Co-authored-by: Lucio Franco <[email protected]>
show more ...
|
|
Revision tags: v0.9.2, v0.9.1, v0.9.0 |
|
| #
d2542dc0 |
| 10-Jan-2023 |
tottoto <[email protected]> |
feat: Rename api related to protobuf (#1224)
|
|
Revision tags: v0.8.4, v0.8.3 |
|
| #
933f5607 |
| 16-Nov-2022 |
Artem Vorotnikov <[email protected]> |
reflection: commit generated code (#1151)
|
|
Revision tags: v0.8.2, v0.8.1, v0.8.0, v0.7.2, v0.7.1, v0.7.0, v0.6.2, v0.6.1, v0.6.0, v0.5.2, v0.5.1 |
|
| #
4b0ece6d |
| 09-Jul-2021 |
David Pedersen <[email protected]> |
chore: fix clippy lints (#707)
|
|
Revision tags: v0.5.0, v0.4.3, v0.4.2, v0.4.1 |
|
| #
c54f2472 |
| 16-Feb-2021 |
James Nugent <[email protected]> |
feat: Implement gRPC Reflection Service (#340)
Co-authored-by: Samani G. Gikandi <[email protected]>
|