Skip to content

Commit

Permalink
add rpcInfo to context in serverStream
Browse files Browse the repository at this point in the history
  • Loading branch information
eafzali committed May 17, 2021
1 parent a12250e commit 5bffad2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server.go
Expand Up @@ -1521,6 +1521,8 @@ func (s *Server) processStreamingRPC(t transport.ServerTransport, stream *transp
}
}

ss.ctx = newContextWithRPCInfo(ss.ctx, false, ss.codec, ss.cp, ss.comp)

if trInfo != nil {
trInfo.tr.LazyLog(&trInfo.firstLine, false)
}
Expand Down

0 comments on commit 5bffad2

Please sign in to comment.