History log of /tonic/tests/ (Results 1 – 25 of 110)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
6664610518-Jan-2025 tottoto <[email protected]>

fix(test): Use test domain for test url (#2150)

b161892417-Jan-2025 tottoto <[email protected]>

fix(test): Use github endpoint to fix flaky test (#2148)

66aaa5bb11-Jan-2025 tottoto <[email protected]>

chore: Use specific io error constructor (#2133)

79a06cc807-Jan-2025 Ilya Averyanov <[email protected]>

Add deflate compression support (#2117)

* Add deflate compression support

* Update test name

---------

Co-authored-by: tottoto <[email protected]>

9691256801-Jan-2025 tottoto <[email protected]>

chore: Remove version and publish field from internal crate (#2113)

bdccf58f26-Nov-2024 tottoto <[email protected]>

chore(server): Refactor TcpIncoming (#2052)

2dc5e31b23-Nov-2024 tottoto <[email protected]>

chore: Remove outdated clippy config (#2063)

dcad2c2d23-Nov-2024 tottoto <[email protected]>

chore(test): Use any port in test (#2062)

60b131d215-Nov-2024 tottoto <[email protected]>

feat: Add Body type (#2013)


/tonic/deny.toml
/tonic/examples/Cargo.toml
/tonic/examples/helloworld-tutorial.md
/tonic/examples/routeguide-tutorial.md
/tonic/examples/src/dynamic_load_balance/client.rs
/tonic/examples/src/h2c/client.rs
/tonic/examples/src/h2c/server.rs
/tonic/examples/src/tls_rustls/client.rs
/tonic/examples/src/tls_rustls/server.rs
/tonic/examples/src/tower/client.rs
/tonic/examples/src/tower/server.rs
/tonic/interop/data/ca.pem
/tonic/interop/data/cert-generator/ca.tf
/tonic/interop/data/cert-generator/server_certs.tf
/tonic/interop/data/server1.key
/tonic/interop/data/server1.pem
/tonic/interop/src/server.rs
compression/src/util.rs
integration_tests/tests/extensions.rs
integration_tests/tests/origin.rs
web/tests/grpc_web.rs
/tonic/tonic-build/src/client.rs
/tonic/tonic-build/src/server.rs
/tonic/tonic-health/Cargo.toml
/tonic/tonic-health/src/generated/grpc_health_v1.rs
/tonic/tonic-reflection/Cargo.toml
/tonic/tonic-reflection/src/generated/grpc_reflection_v1.rs
/tonic/tonic-reflection/src/generated/grpc_reflection_v1alpha.rs
/tonic/tonic-web/Cargo.toml
/tonic/tonic-web/src/lib.rs
/tonic/tonic-web/src/service.rs
/tonic/tonic/Cargo.toml
/tonic/tonic/src/body.rs
/tonic/tonic/src/client/grpc.rs
/tonic/tonic/src/codec/decode.rs
/tonic/tonic/src/codegen.rs
/tonic/tonic/src/server/grpc.rs
/tonic/tonic/src/service/router.rs
/tonic/tonic/src/transport/channel/mod.rs
/tonic/tonic/src/transport/channel/service/connection.rs
/tonic/tonic/src/transport/channel/service/discover.rs
/tonic/tonic/src/transport/channel/service/mod.rs
/tonic/tonic/src/transport/channel/service/tls.rs
/tonic/tonic/src/transport/mod.rs
/tonic/tonic/src/transport/server/incoming.rs
/tonic/tonic/src/transport/server/mod.rs
/tonic/tonic/src/transport/server/service/recover_error.rs
/tonic/tonic/src/transport/service/tls.rs
b28b59b206-Nov-2024 Jen Cecelia Reiss <[email protected]>

feat(tls): AWS Libcrypto Support (#2008)

* add tls crypto provider feature

* fix features

* fix

* fix

* add tls-aws-lc to conditional compilation

* fix conditional compilation

* fix conditiona

feat(tls): AWS Libcrypto Support (#2008)

* add tls crypto provider feature

* fix features

* fix

* fix

* add tls-aws-lc to conditional compilation

* fix conditional compilation

* fix conditional compilation

* revert formatting

* revert formatting

* add tls-any and deprecate tls

* formatting

* revert formatting

* revert formatting

* clean up #[cfg(..)]

* tests pass

* update workflow for new features

* internal feature flag

* revert formatting

* update docs

* specify rustls version in tests

* tls only depends on tls-ring

* update CI + deps

* minor change for force push

* fmt

* fix docs

* fix ring docs link

* Update Cargo.toml

Co-authored-by: Lucio Franco <[email protected]>

---------

Co-authored-by: Lucio Franco <[email protected]>

show more ...


/tonic/.github/workflows/CI.yml
/tonic/codegen/src/main.rs
/tonic/deny.toml
/tonic/examples/helloworld-tutorial.md
/tonic/examples/routeguide-tutorial.md
/tonic/examples/src/tower/client.rs
/tonic/examples/src/tower/server.rs
integration_tests/Cargo.toml
integration_tests/tests/connection.rs
/tonic/tonic-build/Cargo.toml
/tonic/tonic-build/src/lib.rs
/tonic/tonic-health/Cargo.toml
/tonic/tonic-health/src/lib.rs
/tonic/tonic-reflection/Cargo.toml
/tonic/tonic-reflection/src/lib.rs
/tonic/tonic-types/Cargo.toml
/tonic/tonic-types/src/lib.rs
/tonic/tonic-web/Cargo.toml
/tonic/tonic-web/src/lib.rs
/tonic/tonic/Cargo.toml
/tonic/tonic/src/body.rs
/tonic/tonic/src/client/grpc.rs
/tonic/tonic/src/client/service.rs
/tonic/tonic/src/codec/decode.rs
/tonic/tonic/src/lib.rs
/tonic/tonic/src/request.rs
/tonic/tonic/src/server/grpc.rs
/tonic/tonic/src/service/router.rs
/tonic/tonic/src/status.rs
/tonic/tonic/src/transport/channel/endpoint.rs
/tonic/tonic/src/transport/channel/mod.rs
/tonic/tonic/src/transport/channel/service/add_origin.rs
/tonic/tonic/src/transport/channel/service/connection.rs
/tonic/tonic/src/transport/channel/service/connector.rs
/tonic/tonic/src/transport/channel/service/discover.rs
/tonic/tonic/src/transport/channel/service/mod.rs
/tonic/tonic/src/transport/channel/service/reconnect.rs
/tonic/tonic/src/transport/channel/service/tls.rs
/tonic/tonic/src/transport/channel/tls.rs
/tonic/tonic/src/transport/error.rs
/tonic/tonic/src/transport/mod.rs
/tonic/tonic/src/transport/server/conn.rs
/tonic/tonic/src/transport/server/incoming.rs
/tonic/tonic/src/transport/server/mod.rs
/tonic/tonic/src/transport/server/service/io.rs
/tonic/tonic/src/transport/server/service/mod.rs
/tonic/tonic/src/transport/server/service/recover_error.rs
/tonic/tonic/src/transport/server/service/tls.rs
/tonic/tonic/src/transport/server/tls.rs
/tonic/tonic/src/transport/service/grpc_timeout.rs
/tonic/tonic/src/transport/service/mod.rs
/tonic/tonic/src/transport/service/tls.rs
58345a6b17-Oct-2024 tottoto <[email protected]>

chore: Update to tower 0.5 (#1892)


/tonic/.github/workflows/CI.yml
/tonic/CHANGELOG.md
/tonic/CONTRIBUTING.md
/tonic/README.md
/tonic/codegen/Cargo.toml
/tonic/codegen/src/main.rs
/tonic/examples/Cargo.toml
/tonic/examples/src/grpc-web/server.rs
/tonic/examples/src/h2c/client.rs
/tonic/examples/src/h2c/server.rs
/tonic/examples/src/tower/client.rs
/tonic/examples/src/tower/server.rs
/tonic/interop/Cargo.toml
compression/Cargo.toml
integration_tests/Cargo.toml
/tonic/tonic-build/Cargo.toml
/tonic/tonic-build/src/lib.rs
/tonic/tonic-build/src/server.rs
/tonic/tonic-health/Cargo.toml
/tonic/tonic-health/src/generated/grpc_health_v1.rs
/tonic/tonic-health/src/generated/grpc_health_v1_fds.rs
/tonic/tonic-health/src/lib.rs
/tonic/tonic-reflection/Cargo.toml
/tonic/tonic-reflection/src/generated/grpc_reflection_v1.rs
/tonic/tonic-reflection/src/generated/grpc_reflection_v1alpha.rs
/tonic/tonic-reflection/src/generated/reflection_v1_fds.rs
/tonic/tonic-reflection/src/generated/reflection_v1alpha1_fds.rs
/tonic/tonic-reflection/src/lib.rs
/tonic/tonic-types/Cargo.toml
/tonic/tonic-types/src/generated/types_fds.rs
/tonic/tonic-types/src/lib.rs
/tonic/tonic-web/Cargo.toml
/tonic/tonic-web/src/call.rs
/tonic/tonic-web/src/client.rs
/tonic/tonic-web/src/layer.rs
/tonic/tonic-web/src/lib.rs
/tonic/tonic-web/src/service.rs
/tonic/tonic/Cargo.toml
/tonic/tonic/src/body.rs
/tonic/tonic/src/client/grpc.rs
/tonic/tonic/src/codec/encode.rs
/tonic/tonic/src/codec/mod.rs
/tonic/tonic/src/codec/prost.rs
/tonic/tonic/src/codegen.rs
/tonic/tonic/src/lib.rs
/tonic/tonic/src/metadata/key.rs
/tonic/tonic/src/metadata/map.rs
/tonic/tonic/src/metadata/value.rs
/tonic/tonic/src/request.rs
/tonic/tonic/src/response.rs
/tonic/tonic/src/server/grpc.rs
/tonic/tonic/src/service/interceptor.rs
/tonic/tonic/src/service/layered.rs
/tonic/tonic/src/service/mod.rs
/tonic/tonic/src/service/router.rs
/tonic/tonic/src/status.rs
/tonic/tonic/src/transport/channel/endpoint.rs
/tonic/tonic/src/transport/channel/mod.rs
/tonic/tonic/src/transport/server/incoming.rs
/tonic/tonic/src/transport/server/mod.rs
/tonic/tonic/src/transport/server/service/io.rs
/tonic/tonic/src/transport/service/grpc_timeout.rs
99b663e320-Sep-2024 tottoto <[email protected]>

chore(test): Move integration test for tonic-web to tests directory (#1927)

7988738e06-Sep-2024 tottoto <[email protected]>

chore(test): Refactor skip debug test (#1922)

* chore(test): Refactor debug implementation for output

* chore(test): Use compile_protos instead of providing default config

e4c71b8e04-Sep-2024 tottoto <[email protected]>

feat(build): Rename compile method with compile_protos (#1920)

2b76683031-Aug-2024 tottoto <[email protected]>

fix(test): Resolve debug infinite recursion (#1908)

5be40f1429-Aug-2024 Andrew Yuan <[email protected]>

tonic:plumb skip_debug through prost Builder and add test (#1900)

1c5150aa26-Aug-2024 bytedream <[email protected]>

feat(build): Add `#[deprecated]` to deprecated client methods (#1879)

* feat(build): Add `#[deprecated]` to deprecated client methods

* feat(build): Make `Method::deprecated` return false by defaul

feat(build): Add `#[deprecated]` to deprecated client methods (#1879)

* feat(build): Add `#[deprecated]` to deprecated client methods

* feat(build): Make `Method::deprecated` return false by default

* chore(build): Update deprecated attributes test

Co-authored-by: bytedream <[email protected]>

---------

Co-authored-by: tottoto <[email protected]>

show more ...

22475d8021-Aug-2024 Mikhail Katychev <[email protected]>

fix(tonic-build,tonic) Add back TLS handling in genereated `Client::connect` code (#1866)

* tls feature flag for Endpoint::new

* added unit test

* Simplified `Endpoint::new` initialization

decbf61c03-Aug-2024 ajwerner <[email protected]>

transport: allow setting max_header_list_size (#1835)

There is a bug such that if the client sends a response with a header
value that exceeds the max_header_list_size, then RPCs just hang
(#1834).

transport: allow setting max_header_list_size (#1835)

There is a bug such that if the client sends a response with a header
value that exceeds the max_header_list_size, then RPCs just hang
(#1834). When tonic upgraded to hyper 1, it picked up [hyper#3622] which
changed the default from 16MiB to 16KiB for this configuration value.
Error messages in gRPC use headers. That means that services which ever
sent error messages in excess of 16KiB (including in their error
details!) will just hang.

This commit adds the ability for the client to configure this value to
something larger (perhaps the old default of 16MiB) to mitigate the
above-referenced bug.

[hyper#3622]: https://github.com/hyperium/hyper/pull/3622

show more ...

0873bd0d02-Aug-2024 tottoto <[email protected]>

chore(test): Use http crate directly (#1829)


/tonic/.github/workflows/CI.yml
/tonic/CHANGELOG.md
/tonic/deny.toml
/tonic/examples/helloworld-tutorial.md
/tonic/examples/routeguide-tutorial.md
/tonic/examples/src/routeguide/server.rs
/tonic/interop/build.rs
integration_tests/Cargo.toml
integration_tests/tests/extensions.rs
/tonic/tonic-build/Cargo.toml
/tonic/tonic-build/src/client.rs
/tonic/tonic-build/src/lib.rs
/tonic/tonic-build/src/prost.rs
/tonic/tonic-build/src/server.rs
/tonic/tonic-health/Cargo.toml
/tonic/tonic-health/src/generated/grpc_health_v1.rs
/tonic/tonic-health/src/lib.rs
/tonic/tonic-reflection/Cargo.toml
/tonic/tonic-reflection/src/generated/grpc_reflection_v1.rs
/tonic/tonic-reflection/src/generated/grpc_reflection_v1alpha.rs
/tonic/tonic-reflection/src/lib.rs
/tonic/tonic-reflection/src/server/mod.rs
/tonic/tonic-reflection/src/server/v1.rs
/tonic/tonic-types/Cargo.toml
/tonic/tonic-types/src/lib.rs
/tonic/tonic-web/Cargo.toml
/tonic/tonic-web/src/lib.rs
/tonic/tonic-web/tests/integration/build.rs
/tonic/tonic/Cargo.toml
/tonic/tonic/src/codec/compression.rs
/tonic/tonic/src/codec/decode.rs
/tonic/tonic/src/lib.rs
/tonic/tonic/src/status.rs
/tonic/tonic/src/transport/channel/endpoint.rs
/tonic/tonic/src/transport/channel/mod.rs
/tonic/tonic/src/transport/channel/service/connection.rs
/tonic/tonic/src/transport/channel/service/connector.rs
/tonic/tonic/src/transport/channel/service/executor.rs
/tonic/tonic/src/transport/channel/service/mod.rs
/tonic/tonic/src/transport/mod.rs
/tonic/tonic/src/transport/server/incoming.rs
/tonic/tonic/src/transport/server/mod.rs
/tonic/tonic/src/transport/server/service/io.rs
/tonic/tonic/src/transport/server/service/tls.rs
/tonic/tonic/src/transport/service/grpc_timeout.rs
3df62feb08-Jul-2024 Lucio Franco <[email protected]>

feat: update `prost` to `v0.13.0` (#1779)

BREAKING CHANGE: update prost version to v0.13.0

315bb09a08-Jul-2024 tottoto <[email protected]>

feat(server): Remove reexporting service router (#1773)

d312dcc025-Jun-2024 jfoster-twilio <[email protected]>

fix(tonic): flush accumulated ready messages when status received (#1756)

#1423 introduced logic to buffer multiple ready messages in order
to amortize the cost of sends to the underlying transport.

fix(tonic): flush accumulated ready messages when status received (#1756)

#1423 introduced logic to buffer multiple ready messages in order
to amortize the cost of sends to the underlying transport. This
also introduced a change in behavior for tonic in the following
scenario:

A stream of ready messages less than the yield threshold is
trailed by a status. Previously the ready messages would all
have been yielded from the stream and sent, followed by the
status. After the change was introduced the status is yielded
from the stream and sent but the accumulated ready messages in the
buffer are never sent out.

This change adjusts the logic to restore the previous behavior
while still retaining the amoritization benefits. Namely it
flushes the accumulated ready messages prior to yielding the status
ensuring they are sent out from the stream in the order they are read.

show more ...


/tonic/.github/workflows/CI.yml
/tonic/examples/Cargo.toml
/tonic/examples/src/h2c/server.rs
/tonic/examples/src/richer-error/server.rs
/tonic/examples/src/richer-error/server_vec.rs
/tonic/examples/src/streaming/server.rs
/tonic/examples/src/tls_rustls/client.rs
/tonic/examples/src/tls_rustls/server.rs
integration_tests/tests/status.rs
/tonic/tonic-build/src/lib.rs
/tonic/tonic-build/src/prost.rs
/tonic/tonic-build/src/server.rs
/tonic/tonic-health/src/generated/grpc_health_v1.rs
/tonic/tonic-health/src/lib.rs
/tonic/tonic-health/src/server.rs
/tonic/tonic-reflection/src/generated/grpc_reflection_v1.rs
/tonic/tonic-reflection/src/generated/grpc_reflection_v1alpha.rs
/tonic/tonic-reflection/src/lib.rs
/tonic/tonic-web/src/call.rs
/tonic/tonic-web/src/service.rs
/tonic/tonic/Cargo.toml
/tonic/tonic/src/client/grpc.rs
/tonic/tonic/src/codec/compression.rs
/tonic/tonic/src/codec/decode.rs
/tonic/tonic/src/codec/encode.rs
/tonic/tonic/src/codec/mod.rs
/tonic/tonic/src/lib.rs
/tonic/tonic/src/metadata/mod.rs
/tonic/tonic/src/metadata/value.rs
/tonic/tonic/src/request.rs
/tonic/tonic/src/response.rs
/tonic/tonic/src/server/grpc.rs
/tonic/tonic/src/service/interceptor.rs
/tonic/tonic/src/service/mod.rs
/tonic/tonic/src/service/router.rs
/tonic/tonic/src/status.rs
/tonic/tonic/src/transport/channel/endpoint.rs
/tonic/tonic/src/transport/channel/mod.rs
/tonic/tonic/src/transport/channel/service/add_origin.rs
/tonic/tonic/src/transport/channel/service/connection.rs
/tonic/tonic/src/transport/channel/service/connector.rs
/tonic/tonic/src/transport/channel/service/discover.rs
/tonic/tonic/src/transport/channel/service/executor.rs
/tonic/tonic/src/transport/channel/service/io.rs
/tonic/tonic/src/transport/channel/service/mod.rs
/tonic/tonic/src/transport/channel/service/reconnect.rs
/tonic/tonic/src/transport/channel/service/tls.rs
/tonic/tonic/src/transport/channel/service/user_agent.rs
/tonic/tonic/src/transport/channel/tls.rs
/tonic/tonic/src/transport/error.rs
/tonic/tonic/src/transport/mod.rs
/tonic/tonic/src/transport/server/conn.rs
/tonic/tonic/src/transport/server/incoming.rs
/tonic/tonic/src/transport/server/mod.rs
/tonic/tonic/src/transport/server/service/io.rs
/tonic/tonic/src/transport/server/service/mod.rs
/tonic/tonic/src/transport/server/service/recover_error.rs
/tonic/tonic/src/transport/server/service/tls.rs
/tonic/tonic/src/transport/server/tls.rs
/tonic/tonic/src/transport/server/unix.rs
/tonic/tonic/src/transport/service/mod.rs
/tonic/tonic/src/transport/service/tls.rs
8fe97de615-Jun-2024 Amelia <[email protected]>

Fix http2_keepalive panics on the client side (#1730)

* Fix http2_keepalive panics on the client side

* Run rustfmt

98478acc14-Jun-2024 Amelia <[email protected]>

Add timer to hyper server for http2_keepalive_interval (#1726)

* Add TokioTimer for Hyper server

* Add integration test to show http2_keepalive_interval working

* Update test name

* Remove unused

Add timer to hyper server for http2_keepalive_interval (#1726)

* Add TokioTimer for Hyper server

* Add integration test to show http2_keepalive_interval working

* Update test name

* Remove unused imports and run rustfmt on http2_keep_alive test

show more ...

12345