diff options
author | David Garcia Quintas <dgq@google.com> | 2016-05-17 21:05:00 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2016-05-17 21:05:00 -0700 |
commit | 025b4a677719b5885d4b6f558e7564814e6dfb32 (patch) | |
tree | 181b839fc56ccb552d7288994546a350b0628076 /src/core/lib/surface | |
parent | 1ebf1f15985804f93ed533fe2e1aaa0ec371d657 (diff) |
Removed spurious compression check
Diffstat (limited to 'src/core/lib/surface')
-rw-r--r-- | src/core/lib/surface/call.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/lib/surface/call.c b/src/core/lib/surface/call.c index 579c02c493..893ba2aacf 100644 --- a/src/core/lib/surface/call.c +++ b/src/core/lib/surface/call.c @@ -1326,10 +1326,6 @@ static grpc_call_error call_start_batch(grpc_exec_ctx *exec_ctx, grpc_compression_level effective_compression_level; bool level_set = false; if (op->data.send_initial_metadata.maybe_compression_level.is_set) { - if (call->is_client) { - error = GRPC_CALL_ERROR_NOT_ON_CLIENT; - goto done_with_error; - } effective_compression_level = op->data.send_initial_metadata.maybe_compression_level .compression_level; |