client/grpc: fix stream closed bug (#2009)

* client/grpc: fix stream closed bug

* client/grpc: don't use dial context for the stream
This commit is contained in:
ben-toogood
2020-09-17 14:08:21 +01:00
committed by GitHub
parent 3c7f663e8b
commit 19a54f2970
3 changed files with 23 additions and 24 deletions

View File

@@ -10,7 +10,7 @@ import (
)
type response struct {
conn *grpc.ClientConn
conn *poolConn
stream grpc.ClientStream
codec encoding.Codec
gcodec codec.Codec