diff --git a/stream.go b/stream.go index d939ffc6348..b54563e81cd 100644 --- a/stream.go +++ b/stream.go @@ -516,6 +516,7 @@ func (a *csAttempt) newStream() error { return toRPCErr(nse.Err) } a.s = s + a.ctx = s.Context() a.p = &parser{r: s, recvBufferPool: a.cs.cc.dopts.recvBufferPool} return nil }