puppet-service icon indicating copy to clipboard operation
puppet-service copied to clipboard

Previous channel is not disconnected when a new stream channel is started

Open jcai opened this issue 5 years ago • 3 comments

If gRPC server don't return data for a long time,the client will reconnect remote grpc server but the client could not close the previous connection.

jcai avatar Nov 17 '20 07:11 jcai

Thanks for filing this issue. Could you please create a unit test to fail for this situation? If so, we will be able to be more straightforward to investigate this problem.

huan avatar Nov 17 '20 09:11 huan

It's very hard to write a unit test for this situation. :)

jcai avatar Nov 17 '20 12:11 jcai

This might relate to the reconnect logic of our hostie client. I'll inspect the related code when I got time.

Thanks for pushing our code base forward!

huan avatar Nov 21 '20 22:11 huan