You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Darwin (macOS Sonoma 14.2.1) kernel version 23.2.0
Description
In trying to integration test a tonic client/server, I found the "examples/src/mock" example using tokio::io::duplex as the transport channel. This worked fine, until I changed serve_with_incoming to serve_with_incoming_shutdown.
in examples/src/mock/mock.rs demonstrates that the example no longer runs successfully, instead erroring with a "Client already taken" error. This was unexpected to me.
The text was updated successfully, but these errors were encountered:
shradej1
changed the title
Unix domain socket endpoint is incompatible with serve_with_incoming_shutdown
Duplex transport is incompatible with serve_with_incoming_shutdownMar 5, 2024
Bug Report
Version
11.0 / HEAD
Platform
Darwin (macOS Sonoma 14.2.1) kernel version 23.2.0
Description
In trying to integration test a tonic client/server, I found the "examples/src/mock" example using tokio::io::duplex as the transport channel. This worked fine, until I changed
serve_with_incoming
toserve_with_incoming_shutdown
.Replacing
with
in
examples/src/mock/mock.rs
demonstrates that the example no longer runs successfully, instead erroring with a "Client already taken" error. This was unexpected to me.The text was updated successfully, but these errors were encountered: