The client uses Grpc::client_streaming to send a stream to the server. However, in the current implementation, if the server closes the stream prematurely, the madsim channel will be closed and will return a "connection reset" error to the client. Thus, the client will never receive the response from the server. We should allow the server to close the stream before sending back the response.
The client uses
Grpc::client_streaming
to send a stream to the server. However, in the current implementation, if the server closes the stream prematurely, the madsim channel will be closed and will return a "connection reset" error to the client. Thus, the client will never receive the response from the server. We should allow the server to close the stream before sending back the response.