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)
@@ -719,7 +723,7 @@ func recvAndDecompress(p *parser, s *transport.Stream, dc Decompressor, maxRecei
719
723
returnnil, status.Errorf(codes.ResourceExhausted, "grpc: received message after decompression larger than max (%d vs. %d)", size, maxReceiveMessageSize)
720
724
}
721
725
}
722
-
returnd, nil
726
+
returnbuf, nil
723
727
}
724
728
725
729
// Using compressor, decompress d, returning data and size.
@@ -754,15 +758,16 @@ func decompress(compressor encoding.Compressor, d []byte, maxReceiveMessageSize
754
758
// dc takes precedence over compressor.
755
759
// TODO(dfawley): wrap the old compressor/decompressor using the new API?
0 commit comments