aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Muxi Yan <muxi@users.noreply.github.com>2017-10-05 09:36:21 -0700
committerGravatar GitHub <noreply@github.com>2017-10-05 09:36:21 -0700
commitd6b7a28e36a84e67a64a7ddd6d4ebba0f783f912 (patch)
tree1548cd6b7085266c122d8f2aae31110800594641 /src
parent8a8f5ed041d6fa1b772bda0b9d193aeb7dea9172 (diff)
parent77ed33e020ec1e1409696014402314c6e021a0b8 (diff)
Merge pull request #12786 from muxi/fix-performance-regression
Fix gRPC performance regression
Diffstat (limited to 'src')
-rw-r--r--src/core/ext/transport/chttp2/transport/chttp2_transport.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/ext/transport/chttp2/transport/chttp2_transport.c b/src/core/ext/transport/chttp2/transport/chttp2_transport.c
index acf49632ff..70895abcc4 100644
--- a/src/core/ext/transport/chttp2/transport/chttp2_transport.c
+++ b/src/core/ext/transport/chttp2/transport/chttp2_transport.c
@@ -1901,7 +1901,9 @@ void grpc_chttp2_maybe_complete_recv_message(grpc_exec_ctx *exec_ctx,
&s->frame_storage);
s->unprocessed_incoming_frames_decompressed = false;
}
- if (!s->unprocessed_incoming_frames_decompressed) {
+ if (!s->unprocessed_incoming_frames_decompressed &&
+ s->stream_decompression_method !=
+ GRPC_STREAM_COMPRESSION_IDENTITY_DECOMPRESS) {
GPR_ASSERT(s->decompressed_data_buffer.length == 0);
bool end_of_context;
if (!s->stream_decompression_ctx) {