You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnnil, status.Errorf(codes.Internal, "grpc: failed to decompress the received message: %v", err)
@@ -720,7 +718,7 @@ func recvAndDecompress(p *parser, s *transport.Stream, dc Decompressor, maxRecei
720
718
returnnil, status.Errorf(codes.ResourceExhausted, "grpc: received message after decompression larger than max (%d vs. %d)", size, maxReceiveMessageSize)
721
719
}
722
720
}
723
-
returnd, nil
721
+
returnbuf, nil
724
722
}
725
723
726
724
// Using compressor, decompress d, returning data and size.
@@ -755,16 +753,18 @@ func decompress(compressor encoding.Compressor, d []byte, maxReceiveMessageSize
755
753
// dc takes precedence over compressor.
756
754
// TODO(dfawley): wrap the old compressor/decompressor using the new API?
0 commit comments