Always use the first status code received

pull/2152/head
Craig Tiller 10 years ago
parent c7299987a0
commit b8d3a31aa7
  1. 2
      src/core/surface/call.c

@ -405,6 +405,8 @@ void grpc_call_internal_unref(grpc_call *c, int allow_immediate_deletion) {
static void set_status_code(grpc_call *call, status_source source,
gpr_uint32 status) {
if (call->status[source].is_set) return;
call->status[source].is_set = 1;
call->status[source].code = status;

Loading…
Cancel
Save