Calls are always started on the server.

By the time we call accept, we have proof that we've received the start
of a call, so we should set this bit to one.
pull/34/head
Craig Tiller 10 years ago
parent cbbac9b10d
commit 2163bad186
  1. 1
      src/core/surface/call.c

@ -531,6 +531,7 @@ grpc_call_error grpc_call_server_accept(grpc_call *call,
call->state = CALL_BOUNDCQ;
call->cq = cq;
call->finished_tag = finished_tag;
call->received_start = 1;
if (prq_is_empty(&call->prq) && call->received_finish) {
finish_call(call);

Loading…
Cancel
Save