| #
60b131d2 |
| 15-Nov-2024 |
tottoto <[email protected]> |
feat: Add Body type (#2013)
|
| #
be4e0e77 |
| 07-Oct-2024 |
tottoto <[email protected]> |
chore: Refactor empty body constructor (#1981)
* chore: Refactor empty body constructor
* chore: Deprecate empty_body api
|
|
Revision tags: v0.12.3 |
|
| #
517b7fc9 |
| 26-Sep-2024 |
Dirkjan Ochtman <[email protected]> |
Use constants for header names (#1933)
* tonic: rename header name consts and make public
* tonic: use header name constants in more places
|
| #
626b0947 |
| 09-Sep-2024 |
Alice Carroll <[email protected]> |
build: suppress `clippy::wildcard_imports` in generated code (#1937)
|
| #
f7865372 |
| 09-Sep-2024 |
tottoto <[email protected]> |
chore(build): Remove unwrap from generated code (#1928)
|
| #
3a706b24 |
| 04-Sep-2024 |
tottoto <[email protected]> |
chore: Use Status constructor for each kind of status (#1913)
|
| #
a8f012d6 |
| 31-Aug-2024 |
tottoto <[email protected]> |
chore: Update generated code (#1906)
|
|
Revision tags: v0.12.2 |
|
| #
7fb40a98 |
| 20-Aug-2024 |
tottoto <[email protected]> |
chore: Remove unnecessary static lifetime (#1877)
|
| #
e866b00b |
| 19-Aug-2024 |
Jacob Pratt <[email protected]> |
Remove unnecessary trait bounds from server (#1872)
|
| #
d42daaf7 |
| 08-Aug-2024 |
Mikhail Katychev <[email protected]> |
Expose formatted service name as a `const fn` (#1684)
* expose service name as a const fn
* pub fn
* revert example
* updated const fn to be a binding
* updated with SERVICE_NAME const
* update
Expose formatted service name as a `const fn` (#1684)
* expose service name as a const fn
* pub fn
* revert example
* updated const fn to be a binding
* updated with SERVICE_NAME const
* updated codegen
* made SERVICE_NAME pub
show more ...
|
| #
5016dd1f |
| 23-Jul-2024 |
WarrenS <[email protected]> |
Naming collisions with std::marker::Sync/Send (#1804)
* switched usage Sync and Send to their direct imports
* fix broken replacements
* Ran cargo run --package codegen
* update bin
|
|
Revision tags: v0.12.1, v0.12.0 |
|
| #
88c83def |
| 19-Jun-2024 |
Lucio Franco <[email protected]> |
chore: fix merge queue (#1735)
* chore: fix merge queue
* run codegen
|
| #
e2c506ac |
| 17-Jun-2024 |
Ivan Krivosheev <[email protected]> |
Add a `GRPC_CONTENT_TYPE` for "application/grpc". (#1733)
* Add a `GRPC_CONTENT_TYPE` for "application/grpc".
Currently defined in `tonic::metadata`. Would need guidance from maintainers for where
Add a `GRPC_CONTENT_TYPE` for "application/grpc". (#1733)
* Add a `GRPC_CONTENT_TYPE` for "application/grpc".
Currently defined in `tonic::metadata`. Would need guidance from maintainers for where it might be better located.
* Fixed tests
---------
Co-authored-by: gibbz00 <[email protected]>
show more ...
|
| #
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 ...
|