This commit is contained in:
Menghan Li
2016-11-04 16:02:19 -07:00
parent aa5b5c7e2a
commit a4edc462a2
4 changed files with 36 additions and 36 deletions

View File

@ -80,7 +80,7 @@ func recvResponse(ctx context.Context, dopts dialOptions, t transport.ClientTran
}
}
if inPayload != nil && err == io.EOF && stream.StatusCode() == codes.OK {
// TODO in the current implementation, inTrailer may be handled before inStats in some cases.
// TODO in the current implementation, inTrailer may be handled before inPayload in some cases.
// Fix the order if necessary.
stats.Handle(ctx, inPayload)
}