Replies: 1 comment
-
This seems like more related to why the channel is having issues than tonic? Without more information on the types used and what server_side_stream returns its hard to say without seeing more code. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm currently trying to implement a test for my gRPC server-side-streaming rpc. As this is some kind of "event" channel it is quite long-lived and clients may close their receiver side. Additionally I need to keep track of how many clients currently are receiving the stream.
When a client from Java code closes/drops the receiver channel the following server side code works as expected:
When trying to close the receiver with rust I don't get the tx.closed() future. This is the code I'm using to close the stream in my test:
Do you have any ideas why I don't get that tx.closed() with the stream drop code from above?
Any help is greatly appreciated! Thanks!
Beta Was this translation helpful? Give feedback.
All reactions