aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/surface/call.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lib/surface/call.c')
-rw-r--r--src/core/lib/surface/call.c2
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;
}