-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Description
Description of problem
If we set proto like this in stream (take the example from : https://github.com/containerd/ttrpc-rust/blob/master/example/protocols/protos/streaming.proto)
rpc DivideStream(Sum) returns (stream Part);
If the Sum here contains i32 like
message Sum {
int32 sum = 1;
int32 num = 2;
}
and that all i32 values (sum and num) are 0.
In the above case, the connection must be lost. The client side won't return any error and the server side won't receive anything.
This is pretty easy to reproduce, you can change
ttrpc-rust/example/async-stream-client.rs
Lines 124 to 125 in 555c412
| sum: 392, | |
| num: 4, |
Expected result
server side receive the message
Actual result
The client side won't return any error and the server side won't receive anything.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels