Fix ping response code

pull/4325/head
Craig Tiller 9 years ago
parent 6c1aa8add6
commit 30798c0fb9
  1. 3
      src/core/transport/chttp2_transport.c

@ -912,10 +912,11 @@ void grpc_chttp2_ack_ping(grpc_exec_ctx *exec_ctx,
ping = ping->next) { ping = ping->next) {
if (0 == memcmp(opaque_8bytes, ping->id, 8)) { if (0 == memcmp(opaque_8bytes, ping->id, 8)) {
grpc_exec_ctx_enqueue(exec_ctx, ping->on_recv, 1); grpc_exec_ctx_enqueue(exec_ctx, ping->on_recv, 1);
}
ping->next->prev = ping->prev; ping->next->prev = ping->prev;
ping->prev->next = ping->next; ping->prev->next = ping->next;
gpr_free(ping); gpr_free(ping);
break;
}
} }
unlock(exec_ctx, t); unlock(exec_ctx, t);
} }

Loading…
Cancel
Save