stream: split per-attempt data from clientStream (#1900)

This is pre-work to implementing retry support. Each retry attempt will have its own csAttempt. The fields left in clientStream are the same across all attempts.
This commit is contained in:
dfawley
2018-03-12 13:27:54 -07:00
committed by GitHub
parent 2c2d834e8e
commit 13975c0702
3 changed files with 156 additions and 113 deletions

View File

@ -127,7 +127,7 @@ func (d *gzipDecompressor) Type() string {
type callInfo struct {
compressorType string
failFast bool
stream *transport.Stream
stream *clientStream
traceInfo traceInfo // in trace.go
maxReceiveMessageSize *int
maxSendMessageSize *int