diff options
author | David Garcia Quintas <dgq@google.com> | 2016-05-17 11:38:45 -0700 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2016-05-17 11:38:45 -0700 |
commit | af1c7e4f06b3b490fef6dd75669c92cc71acb8c7 (patch) | |
tree | b439fa22e9890afdcf594daa412725a7144b3c72 /src/core/lib | |
parent | 73dcbda5b006fac4651480f7692b30db993b79b9 (diff) |
INTERNAL -> UNIMPLEMENTED for disabled algorithms
Diffstat (limited to 'src/core/lib')
-rw-r--r-- | src/core/lib/surface/call.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/surface/call.c b/src/core/lib/surface/call.c index 2462adc26a..f1767cb05c 100644 --- a/src/core/lib/surface/call.c +++ b/src/core/lib/surface/call.c @@ -434,7 +434,7 @@ static void set_compression_algorithm(grpc_call *call, gpr_asprintf(&error_msg, "Compression algorithm '%s' is disabled.", algo_name); gpr_log(GPR_ERROR, error_msg); - close_with_status(&exec_ctx, call, GRPC_STATUS_INTERNAL, error_msg); + close_with_status(&exec_ctx, call, GRPC_STATUS_UNIMPLEMENTED, error_msg); } else { call->compression_algorithm = algo; } |